Skip to content

Commit

Permalink
fix(test): handle scenario test rejection (#473)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
codymikol authored Jan 30, 2021
1 parent da86766 commit 8ad09d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/scenarios/basic-setup/basic-setup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ describe('A basic karma-webpack setup', () => {
.then((res) => {
scenario = res;
})
.catch((err) => console.error('Integration Scenario Failed: ', err))
.finally(() => done());
}, KARMA_SERVER_TIMEOUT);

Expand Down

0 comments on commit 8ad09d1

Please sign in to comment.