mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 14:29:36 +01:00
chore: minor fixes in the config
This commit is contained in:
parent
4eeaea4bd1
commit
d0c4809d8f
@ -25,5 +25,5 @@ module.exports = {
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
StaticQuery: jest.fn(),
|
StaticQuery: jest.fn(),
|
||||||
useStaticQuery: jest.fn(),
|
useStaticQuery: jest.fn()
|
||||||
};
|
};
|
||||||
|
@ -8,7 +8,7 @@ module.exports = {
|
|||||||
testMatch: ['**/__tests__/**/*.js', '**/?(*.)test.js'],
|
testMatch: ['**/__tests__/**/*.js', '**/?(*.)test.js'],
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
'.+\\.(css|styl|less|sass|scss)$': 'identity-obj-proxy',
|
'.+\\.(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)$': '<rootDir>/jest/__mocks__/fileMock.js'
|
'.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/jest/__mocks__/file-mock.js'
|
||||||
},
|
},
|
||||||
testPathIgnorePatterns: ['node_modules', '.cache', 'public'],
|
testPathIgnorePatterns: ['node_modules', '.cache', 'public'],
|
||||||
transformIgnorePatterns: [
|
transformIgnorePatterns: [
|
||||||
@ -17,6 +17,5 @@ module.exports = {
|
|||||||
globals: {
|
globals: {
|
||||||
__PATH_PREFIX__: ''
|
__PATH_PREFIX__: ''
|
||||||
},
|
},
|
||||||
testURL: 'http://localhost/',
|
|
||||||
setupFiles: ['<rootDir>/jest/loadershim.js']
|
setupFiles: ['<rootDir>/jest/loadershim.js']
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user