mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
Add more tests for Bun.spawn lifecycle and address edgecase (#6904)
* FIxup spawn ref / unref * Fix test failures * Add test for #3480 * windows * 🪟 * Skip on linux * Fix test --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
@@ -969,7 +969,7 @@ pub const TestCommand = struct {
|
||||
const file_end = reporter.jest.files.len;
|
||||
|
||||
for (file_start..file_end) |module_id| {
|
||||
const module = reporter.jest.files.items(.module_scope)[module_id];
|
||||
const module: *jest.DescribeScope = reporter.jest.files.items(.module_scope)[module_id];
|
||||
|
||||
vm.onUnhandledRejectionCtx = null;
|
||||
vm.onUnhandledRejection = jest.TestRunnerTask.onUnhandledRejection;
|
||||
|
||||
Reference in New Issue
Block a user