2022-11-01 03:08:53 -05:00

13 lines
268 B
TypeScript

// eslint-disable-next-line import/no-extraneous-dependencies
import 'jest-preset-angular/setup-jest';
import { webcrypto } from 'node:crypto';
Object.defineProperty(window, 'crypto', {
get() {
return webcrypto;
},
});
global.EventSource = class {} as any;