1
0
Fork 0
cautious-journey/scripts/mocha-preload.js

11 lines
261 B
JavaScript

export const jsdom = require('jsdom-global')();
const sourceMapSupport = require('source-map-support');
sourceMapSupport.install({
environment: 'node',
handleUncaughtExceptions: true,
hookRequire: true,
});
window.URL.createObjectURL = function () { };