fix(brotli): protect and unprotect buffer values (#12829)

This commit is contained in:
Dylan Conway
2024-07-25 18:24:01 -07:00
committed by GitHub
parent 5f1b569c52
commit d7187592c0
8 changed files with 16 additions and 108 deletions

View File

@@ -1105,7 +1105,7 @@ pub const TestCommand = struct {
if (reporter.summary.fail > 0 or (coverage.enabled and coverage.fractions.failing and coverage.fail_on_low_coverage)) {
Global.exit(1);
} else if (reporter.jest.unhandled_errors_between_tests > 0) {
Global.exitWide(@intCast(reporter.jest.unhandled_errors_between_tests));
Global.exit(reporter.jest.unhandled_errors_between_tests);
}
}