[jest][s]: resolve babel-jest using relative path
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = {
|
|||||||
'<rootDir>/postcss.config.js',
|
'<rootDir>/postcss.config.js',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.(js|jsx|ts|tsx)$': '<rootDir>/node_modules/babel-jest',
|
'^.+\\.(js|jsx|ts|tsx)$': 'babel-jest',
|
||||||
'^.+\\.css$': '<rootDir>/config/jest/cssTransform.js',
|
'^.+\\.css$': '<rootDir>/config/jest/cssTransform.js',
|
||||||
},
|
},
|
||||||
transformIgnorePatterns: [
|
transformIgnorePatterns: [
|
||||||
|
|||||||
Reference in New Issue
Block a user