Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
initializeResizeListener();
}
// Testing
const ttt = Date.now();
const testRunner = manager.testRunner;
try {
testRunner.initialize();
testRunner.findTests(modules);
await testRunner.runTests();
const aggregatedResults = testRunner.reportResults();
debug(`Test Evaluation time: ${Date.now() - ttt}ms`);
dispatch({
type: 'test-result',
result: Encode(aggregatedResults),
});
// End - Testing
} catch (error) {
dispatch({
type: 'test-result',
error: testRunner.reportError(error),
});
}
debug(`Total time: ${Date.now() - startTime}ms`);
dispatch({
type: 'success',
});
firstLoad = false;