We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12b01ce commit 5f20b20Copy full SHA for 5f20b20
test/effectify.ts
@@ -24,13 +24,21 @@ describe.concurrent("effectify (readFile)", () => {
24
})
25
)
26
27
- it.effect("preserves overloads", () =>
+ it.effect("preserves overloads (1)", () =>
28
Effect.gen(function* ($) {
29
const x = yield* $(readFile1(__filename, "utf8"))
30
assert.match(x.toString(), /^import/)
31
32
33
34
+ it.effect("preserves overloads (2)", () =>
35
+ Effect.gen(function* ($) {
36
+ const { signal } = new AbortController()
37
+ const x = yield* $(readFile1(__filename, { signal }))
38
+ assert.match(x.toString(), /^import/)
39
+ })
40
+ )
41
+
42
it.effect("handles error path", () =>
43
44
const result = yield* $(
0 commit comments