We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aba281d commit 1f2c044Copy full SHA for 1f2c044
jest.config.js
@@ -5,6 +5,10 @@ module.exports = {
5
moduleNameMapper: {
6
'.+\\.(css|styl|less|sass|scss)$': `identity-obj-proxy`,
7
'.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': `<rootDir>/tests/file-mock.js`,
8
+ '^@src(.*)$': '<rootDir>/src/$1',
9
+ '^@common(.*)$': '<rootDir>/src/components/common/$1',
10
+ '^@components(.*)$': '<rootDir>/src/components/$1',
11
+ '^@pages(.*)$': '<rootDir>/src/pages/shared$1',
12
},
13
testPathIgnorePatterns: [`node_modules`, `.cache`, `public`, `cypress`],
14
transformIgnorePatterns: [`node_modules/(?!(gatsby)/)`],
0 commit comments