|
|
@@ -4,11 +4,10 @@ module.exports = {
|
|
4
|
4
|
moduleFileExtensions: ['ts', 'tsx', 'mjs', 'js', 'json', 'jsx'],
|
|
5
|
5
|
testPathIgnorePatterns: ['<rootDir>[/\\\\](node_modules|.next)[/\\\\]'],
|
|
6
|
6
|
transformIgnorePatterns: [
|
|
7
|
|
- 'node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-fs-access)/)'
|
|
|
7
|
+ 'node_modules/(?!(browser-fs-access)/)',
|
|
8
|
8
|
],
|
|
9
|
9
|
transform: {
|
|
10
|
10
|
'^.+\\.(ts|tsx|mjs)$': 'babel-jest',
|
|
11
|
|
- '^.+\\.mjs$': 'babel-jest',
|
|
12
|
11
|
},
|
|
13
|
12
|
modulePaths: ['<rootDir>', 'node_modules'],
|
|
14
|
13
|
watchPlugins: [
|