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
This commit is contained in:
Cody Mikol 2021-01-30 15:56:43 -05:00 committed by GitHub
parent da8676611c
commit 8ad09d1551
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);