const TSConsoleReporter = require ( "jasmine-ts-console-reporter" ) ; jasmine . getEnv ( ) . clearReporters ( ) ; jasmine . getEnv ( ) . addReporter ( new TSConsoleReporter ( ) ) ; const jsdom = require ( "jsdom" ) ; ( global as any ) . DOMParser = new jsdom . JSDOM ( ) . window . DOMParser ;