1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-25 20:53:28 +00:00

WIP - Split up tests to their proper project

This commit is contained in:
Hinton
2021-12-10 15:03:16 +01:00
parent 6a179ab2df
commit f4f2b6cdf9
39 changed files with 6587 additions and 12440 deletions

9
common/spec/helpers.ts Normal file
View File

@@ -0,0 +1,9 @@
// 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;