Update jest.config.js
This commit is contained in:
parent
9e2938c3d5
commit
07f96a8416
1 changed files with 1 additions and 2 deletions
|
@ -4,11 +4,10 @@ module.exports = {
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'mjs', 'js', 'json', 'jsx'],
|
moduleFileExtensions: ['ts', 'tsx', 'mjs', 'js', 'json', 'jsx'],
|
||||||
testPathIgnorePatterns: ['<rootDir>[/\\\\](node_modules|.next)[/\\\\]'],
|
testPathIgnorePatterns: ['<rootDir>[/\\\\](node_modules|.next)[/\\\\]'],
|
||||||
transformIgnorePatterns: [
|
transformIgnorePatterns: [
|
||||||
'node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-fs-access)/)'
|
'node_modules/(?!(browser-fs-access)/)',
|
||||||
],
|
],
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.(ts|tsx|mjs)$': 'babel-jest',
|
'^.+\\.(ts|tsx|mjs)$': 'babel-jest',
|
||||||
'^.+\\.mjs$': 'babel-jest',
|
|
||||||
},
|
},
|
||||||
modulePaths: ['<rootDir>', 'node_modules'],
|
modulePaths: ['<rootDir>', 'node_modules'],
|
||||||
watchPlugins: [
|
watchPlugins: [
|
||||||
|
|
Loading…
Reference in a new issue