test(opencode): remove disposal event wait race (#30971)

This commit is contained in:
Aiden Cline
2026-06-05 09:58:40 -05:00
committed by GitHub
parent da08b61bcc
commit 4257aaee7f
3 changed files with 3 additions and 3 deletions
@@ -37,7 +37,7 @@ describe("config HttpApi", () => {
"serves config update through the default server app",
Effect.gen(function* () {
const tmp = yield* tmpdirEffect({ config: { formatter: false, lsp: false } })
const disposed = yield* waitDisposed(tmp.path).pipe(Effect.forkScoped)
const disposed = yield* waitDisposed(tmp.path).pipe(Effect.forkScoped({ startImmediately: true }))
const response = yield* Effect.promise(() =>
Promise.resolve(