]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/setupJest.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / setupJest.ts
1 import '@angular/localize/init';
2
3 import 'jest-preset-angular/setup-jest';
4
5 import './jestGlobalMocks';
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 });