Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
10 lines
287 B
JavaScript
10 lines
287 B
JavaScript
/* eslint-env node */
|
|
import 'jest-axe/extend-expect';
|
|
import './app/assets/javascripts/lib/xss';
|
|
|
|
global.setImmediate = global.setTimeout;
|
|
|
|
process.on('unhandledRejection', (error) => {
|
|
// Errors thrown here are typically fetch responses that have not been mocked.
|
|
throw error;
|
|
});
|