Skip to content

Commit 0bd4ab9

Browse files
committed
fix jest transpiling all node modules, make tests fast again
the previous regexp is bugged, it requires '//' in the filename !! As a result, all the files in node_modules don't pass the regex so nothing is ignored => everything is transformed jest caches this in /tmp/jest_* so rerunning tests is fast, but the first time jest takes minutes to transform everything
1 parent b98f229 commit 0bd4ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"\\.svg": "<rootDir>/src/__mocks__/svgrMock.js"
5555
},
5656
"transformIgnorePatterns": [
57-
"node_modules/(?!@gridsuite/commons-ui)/"
57+
"node_modules/(?!@gridsuite/commons-ui)"
5858
]
5959
},
6060
"eslintConfig": {

0 commit comments

Comments
 (0)