homehub/packages/homehub_app/tests/__entry__.js

14 lines
347 B
JavaScript
Raw Normal View History

2021-08-26 10:33:15 +00:00
require('regenerator-runtime');
const replaceAll = require('string.prototype.replaceall');
replaceAll.shim();
window.crypto = {
getRandomValues: require('polyfill-crypto.getrandomvalues'),
};
require('tests/__setup__/enzyme.setup.js');
let testsContext = require.context('.', true, /\.spec\.js$/);
testsContext.keys().forEach(testsContext);