PGlite's WASM worker kept an open async handle, causing Bun to detect a resource leak and exit with code 100 despite all tests passing. Adds a preload script that closes the cached client via afterAll. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 lines
71 B
TOML
5 lines
71 B
TOML
[test]
|
|
root = "tests/"
|
|
timeout = 30_000
|
|
preload = ["./tests/setup.ts"]
|