chore: generate
This commit is contained in:
parent
cec1255b36
commit
b698f14e55
4 changed files with 244 additions and 239 deletions
|
|
@ -68,7 +68,10 @@ test("InstanceState is disposed on instance reload", async () => {
|
|||
const state = yield* InstanceState.make(() =>
|
||||
Effect.acquireRelease(
|
||||
Effect.sync(() => ({ n: ++n })),
|
||||
(value) => Effect.sync(() => { seen.push(String(value.n)) }),
|
||||
(value) =>
|
||||
Effect.sync(() => {
|
||||
seen.push(String(value.n))
|
||||
}),
|
||||
),
|
||||
)
|
||||
|
||||
|
|
@ -94,7 +97,10 @@ test("InstanceState is disposed on disposeAll", async () => {
|
|||
const state = yield* InstanceState.make((dir) =>
|
||||
Effect.acquireRelease(
|
||||
Effect.sync(() => ({ dir })),
|
||||
(value) => Effect.sync(() => { seen.push(value.dir) }),
|
||||
(value) =>
|
||||
Effect.sync(() => {
|
||||
seen.push(value.dir)
|
||||
}),
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue