* feat: add capabilities * chore: more tests * fix: use correct hook source for getDispatch * fix: fix fetchImages data contract * fix: make onClose method a callback for ImageUploadModal * chore: lint and test updates * chore: clean up propType warning Co-authored-by: connorhaugh <chaugh21@amherst.edu>
18 lines
348 B
JavaScript
18 lines
348 B
JavaScript
const { createConfig } = require('@edx/frontend-build');
|
|
|
|
module.exports = createConfig('jest', {
|
|
roots: [
|
|
'<rootDir>/src',
|
|
],
|
|
setupFiles: [
|
|
'<rootDir>/src/setupTest.js',
|
|
],
|
|
modulePaths: ['<rootDir>/src/'],
|
|
snapshotSerializers: [
|
|
'enzyme-to-json/serializer',
|
|
],
|
|
moduleNameMapper: {
|
|
'^lodash-es$': 'lodash',
|
|
},
|
|
});
|