chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-03 00:32:24 +00:00
parent fd01dc9c89
commit a6464062b7
3 changed files with 853 additions and 514 deletions

View File

@@ -61,7 +61,11 @@ const make = <R, E>(testLayer: Layer.Layer<R, E>, liveLayer: Layer.Layer<R, E>)
opts?: number | TestOptions,
) => {
const args = instanceArgs(options, opts)
return test(name, () => run(body(value).pipe(withTmpdirInstance(args.instanceOptions)), liveLayer), args.testOptions)
return test(
name,
() => run(body(value).pipe(withTmpdirInstance(args.instanceOptions)), liveLayer),
args.testOptions,
)
}
instance.only = <A, E2>(
@@ -71,7 +75,11 @@ const make = <R, E>(testLayer: Layer.Layer<R, E>, liveLayer: Layer.Layer<R, E>)
opts?: number | TestOptions,
) => {
const args = instanceArgs(options, opts)
return test.only(name, () => run(body(value).pipe(withTmpdirInstance(args.instanceOptions)), liveLayer), args.testOptions)
return test.only(
name,
() => run(body(value).pipe(withTmpdirInstance(args.instanceOptions)), liveLayer),
args.testOptions,
)
}
instance.skip = <A, E2>(
@@ -81,7 +89,11 @@ const make = <R, E>(testLayer: Layer.Layer<R, E>, liveLayer: Layer.Layer<R, E>)
opts?: number | TestOptions,
) => {
const args = instanceArgs(options, opts)
return test.skip(name, () => run(body(value).pipe(withTmpdirInstance(args.instanceOptions)), liveLayer), args.testOptions)
return test.skip(
name,
() => run(body(value).pipe(withTmpdirInstance(args.instanceOptions)), liveLayer),
args.testOptions,
)
}
return { effect, live, instance }