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:
parent
da8676611c
commit
8ad09d1551
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue