* feat: handle download error and display them * chore: update test environment for easier single file test * feat: add cache bursting to the download
19 lines
429 B
JavaScript
19 lines
429 B
JavaScript
const { createConfig } = require('@edx/frontend-build');
|
|
|
|
module.exports = createConfig('jest', {
|
|
setupFilesAfterEnv: [
|
|
'jest-expect-message',
|
|
'<rootDir>/src/setupTest.js',
|
|
],
|
|
modulePaths: ['<rootDir>/src/'],
|
|
snapshotSerializers: [
|
|
'enzyme-to-json/serializer',
|
|
],
|
|
coveragePathIgnorePatterns: [
|
|
'src/segment.js',
|
|
'src/postcss.config.js',
|
|
],
|
|
testTimeout: 120000,
|
|
testEnvironment: 'jsdom',
|
|
});
|