From 89192b70aeedd33c6851c40aa11f5607b9b454c1 Mon Sep 17 00:00:00 2001 From: alxshelepenok Date: Thu, 9 May 2019 00:56:56 +0300 Subject: [PATCH] fix: update path --- jest/jest-config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'] };