@effect/vitest 0.28.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -220,7 +220,7 @@ When adding new failing tests, you might not be able to fix them right away. Ins
|
|
|
220
220
|
import { it } from "@effect/vitest"
|
|
221
221
|
import { Effect, Exit } from "effect"
|
|
222
222
|
|
|
223
|
-
function divide(a: number, b: number): number {
|
|
223
|
+
function divide(a: number, b: number): Effect.Effect<number, string> {
|
|
224
224
|
if (b === 0) return Effect.fail("Cannot divide by zero")
|
|
225
225
|
return Effect.succeed(a / b)
|
|
226
226
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/vitest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "A set of helpers for testing Effects with vitest",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"homepage": "https://effect.website",
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"vitest": "^3.2.0",
|
|
15
|
-
"effect": "^3.
|
|
15
|
+
"effect": "^3.22.0"
|
|
16
16
|
},
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"provenance": true
|