fix(curriculum): include stack with test errors (#39209)
This commit is contained in:
parent
aab60d299d
commit
ab1f14246a
@ -205,8 +205,9 @@ function cleanup() {
|
||||
}
|
||||
|
||||
function runTests({ challengesForLang, meta }) {
|
||||
// rethrow unhandled rejections to make sure the tests exit with -1
|
||||
process.on('unhandledRejection', err => {
|
||||
throw new Error(`unhandledRejection: ${err.name}, ${err.message}`);
|
||||
throw err;
|
||||
});
|
||||
|
||||
describe('Check challenges', function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user