mirror of
https://github.com/bitwarden/browser
synced 2024-12-26 09:54:35 +01:00
10 lines
361 B
TypeScript
10 lines
361 B
TypeScript
// tslint:disable-next-line
|
|
const TSConsoleReporter = require("jasmine-ts-console-reporter");
|
|
jasmine.getEnv().clearReporters(); // Clear default console reporter
|
|
jasmine.getEnv().addReporter(new TSConsoleReporter());
|
|
|
|
// Polyfills
|
|
// tslint:disable-next-line
|
|
const jsdom: any = require("jsdom");
|
|
(global as any).DOMParser = new jsdom.JSDOM().window.DOMParser;
|