]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/setupJest.ts
import ceph quincy 17.2.6
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / setupJest.ts
CommitLineData
f67539c2
TL
1import '@angular/localize/init';
2
39ae355f 3import 'jest-preset-angular/setup-jest';
11fdf7f2
TL
4
5import './jestGlobalMocks';
b3b6e05e
TL
6
7process.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});