]> Piment Noir Git Repositories - poolifier.git/commit
test: fix async kill handler test for vitest compatibility
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 22 Feb 2026 23:04:58 +0000 (00:04 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 22 Feb 2026 23:04:58 +0000 (00:04 +0100)
commitba7ffbfb10819c1461f97dc5f84c958b0685c687
treefc50441836f79782f22013332b81fe34bad0baac
parent5b2ecea52bf01a9af1b8248f3ece243c75ac9594
test: fix async kill handler test for vitest compatibility

- Make test async and properly await kill handler completion
- Stub sendToMainWorker to prevent unhandled rejection
- Add assertions for sendToMainWorker call
- Remove sequence.hooks config (not needed)
tests/worker/abstract-worker.test.mjs
vitest.config.ts