diff --git a/jest/jest-config.js b/jest/jest-config.js index 41e60e6..37a8e30 100644 --- a/jest/jest-config.js +++ b/jest/jest-config.js @@ -3,12 +3,12 @@ module.exports = { rootDir: '../', transform: { - '^.+\\.js?$': '/tests/jest-preprocess.js' + '^.+\\.js?$': '/jest/jest-preprocess.js' }, testMatch: ['**/__tests__/**/*.js', '**/?(*.)test.js'], moduleNameMapper: { '.+\\.(css|styl|less|sass|scss)$': 'identity-obj-proxy', - '.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '/tests/__mocks__/fileMock.js' + '.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '/jest/__mocks__/fileMock.js' }, testPathIgnorePatterns: ['node_modules', '.cache', 'public'], transformIgnorePatterns: [ @@ -18,5 +18,5 @@ module.exports = { __PATH_PREFIX__: '' }, testURL: 'http://localhost/', - setupFiles: ['/tests/loadershim.js'] + setupFiles: ['/jest/loadershim.js'] };