1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 02:43:04 +01:00
bitwarden-estensione-browser/spec/helpers.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
361 B
TypeScript
Raw Normal View History

2022-02-22 15:39:11 +01:00
// eslint-disable-next-line
2018-04-18 18:59:48 +02:00
const TSConsoleReporter = require("jasmine-ts-console-reporter");
jasmine.getEnv().clearReporters(); // Clear default console reporter
jasmine.getEnv().addReporter(new TSConsoleReporter());
// Polyfills
2022-02-22 15:39:11 +01:00
// eslint-disable-next-line
const jsdom: any = require("jsdom");
(global as any).DOMParser = new jsdom.JSDOM().window.DOMParser;