]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | import '@angular/localize/init'; |
2 | ||
39ae355f | 3 | import 'jest-preset-angular/setup-jest'; |
11fdf7f2 TL |
4 | |
5 | import './jestGlobalMocks'; | |
b3b6e05e TL |
6 | |
7 | process.on('unhandledRejection', (error) => { | |
8 | const stack = error['stack'] || ''; | |
9 | // Avoid potential hang on test failure when running tests in parallel. | |
10 | throw `WARNING: unhandled rejection: ${error} ${stack}`; | |
11 | }); |