Skip to content

Commit 8ad09d1

Browse files
authored
fix(test): handle scenario test rejection (#473)
in newer versions of node, the promise will never resolve if errors aren't specifically handled. This can cause tests to hang indefinitely. Fixes N/A
1 parent da86766 commit 8ad09d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/scenarios/basic-setup/basic-setup.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ describe('A basic karma-webpack setup', () => {
4040
.then((res) => {
4141
scenario = res;
4242
})
43+
.catch((err) => console.error('Integration Scenario Failed: ', err))
4344
.finally(() => done());
4445
}, KARMA_SERVER_TIMEOUT);
4546

0 commit comments

Comments
 (0)