mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
fix bugs found by exception scope verification (#20285)
Co-authored-by: 190n <7763597+190n@users.noreply.github.com>
This commit is contained in:
@@ -1527,7 +1527,7 @@ pub const TestCommand = struct {
|
||||
|
||||
switch (promise.status(vm.global.vm())) {
|
||||
.rejected => {
|
||||
_ = vm.unhandledRejection(vm.global, promise.result(vm.global.vm()), promise.asValue());
|
||||
vm.unhandledRejection(vm.global, promise.result(vm.global.vm()), promise.asValue());
|
||||
reporter.summary.fail += 1;
|
||||
|
||||
if (reporter.jest.bail == reporter.summary.fail) {
|
||||
|
||||
Reference in New Issue
Block a user