Bläddra i källkod

Update jest.config.js

main
Steve Ruiz 4 år sedan
förälder
incheckning
07f96a8416
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. 1
    2
      jest.config.js

+ 1
- 2
jest.config.js Visa fil

@@ -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: [

Laddar…
Avbryt
Spara