fix(test): release Windows search handles (#31172)
This commit is contained in:
parent
10d1e04e9b
commit
48c26fa039
2 changed files with 7 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ import { afterAll } from "bun:test"
|
|||
const dir = path.join(os.tmpdir(), "opencode-test-data-" + process.pid)
|
||||
await fs.mkdir(dir, { recursive: true })
|
||||
afterAll(async () => {
|
||||
const { AppRuntime } = await import("../src/effect/app-runtime")
|
||||
await AppRuntime.dispose()
|
||||
|
||||
const busy = (error: unknown) =>
|
||||
typeof error === "object" && error !== null && "code" in error && error.code === "EBUSY"
|
||||
const rm = async (left: number): Promise<void> => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue