fail tests when having unhandled errors (#234673)

This commit is contained in:
Johannes Rieken
2024-11-26 17:32:08 +01:00
committed by GitHub
parent 6ff5e0475d
commit e45ebc6d59

View File

@@ -271,7 +271,7 @@ async function loadTests(opts) {
}
});
errors.setUnexpectedErrorHandler(err => unexpectedErrorHandler(err));
errors.setUnexpectedErrorHandler(onUnexpectedError);
});
//#endregion