diff options
author | 2023-01-30 19:23:31 -0800 | |
---|---|---|
committer | 2023-01-30 19:23:31 -0800 | |
commit | 45dfc72a5d3059d0a6565786d1006568f9a75c94 (patch) | |
tree | 07534ba4631d89202c11852a2cd5f8c0b73eef54 /src/bun.js/test | |
parent | 8b8bd6a405d1fd8b162c7e37f7128303573176df (diff) | |
download | bun-45dfc72a5d3059d0a6565786d1006568f9a75c94.tar.gz bun-45dfc72a5d3059d0a6565786d1006568f9a75c94.tar.zst bun-45dfc72a5d3059d0a6565786d1006568f9a75c94.zip |
set done callback state to fulfilled
Diffstat (limited to 'src/bun.js/test')
-rw-r--r-- | src/bun.js/test/jest.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bun.js/test/jest.zig b/src/bun.js/test/jest.zig index 1ae0bd51a..c491cf3fb 100644 --- a/src/bun.js/test/jest.zig +++ b/src/bun.js/test/jest.zig @@ -2099,7 +2099,9 @@ pub const TestRunnerTask = struct { std.debug.assert(this.sync_state == .pending); this.sync_state = .fulfilled; }, - .unhandledRejection => {}, + .unhandledRejection => { + this.done_callback_state = .fulfilled; + }, else => @compileError("Bad from"), } |