* feat: deprecated shallow in tests * chore: test utils from dev to dependencies * chore: removed unused imports * chore: restore packages to devDep * chore: renamed header to pass lint * feat: deprecated shallow in tests and added testing Utils * chore: removed deprecated tests * chore: commit to trigger test again * chore: fix import warning for new testing file * chore: address comments
15 lines
407 B
JavaScript
15 lines
407 B
JavaScript
const { createConfig } = require('@openedx/frontend-build');
|
|
|
|
module.exports = createConfig('jest', {
|
|
setupFilesAfterEnv: [
|
|
'<rootDir>/src/setupTest.js',
|
|
],
|
|
modulePaths: ['<rootDir>/src/'],
|
|
coveragePathIgnorePatterns: [
|
|
'src/segment.js',
|
|
'src/postcss.config.js',
|
|
'testUtils', // don't unit test jest mocking tools
|
|
'testUtilsExtra', // don't unit test jest mocking tools
|
|
],
|
|
});
|