瀏覽代碼

Update jest.config.js

main
Steve Ruiz 4 年之前
父節點
當前提交
07f96a8416
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      jest.config.js

+ 1
- 2
jest.config.js 查看文件

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

Loading…
取消
儲存