File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -165,11 +165,13 @@ export default {
165165
166166 // A map from regular expressions to paths to transformers
167167 transform : {
168- '/node_modules/lodash-es/.+\\.(j|t)sx?$' : 'ts-jest' ,
168+ '/node_modules/( lodash-es|d3-quadtree) /.+\\.(j|t)sx?$' : 'ts-jest' ,
169169 } ,
170170
171171 // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
172- transformIgnorePatterns : [ '/node_modules/(?!lodash-es|@cylynx/graphin)' ] ,
172+ transformIgnorePatterns : [
173+ '<rootDir>/node_modules/?!(lodash-es|@cylynx/graphin)' ,
174+ ] ,
173175
174176 // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
175177 // unmockedModulePathPatterns: undefined,
Original file line number Diff line number Diff line change 7676 "@types/d3-axis" : " ^2.0.0" ,
7777 "@types/d3-brush" : " ^2.1.0" ,
7878 "@types/d3-format" : " ^2.0.0" ,
79+ "@types/d3-quadtree" : " ^3.0.2" ,
7980 "@types/d3-scale" : " ^3.2.1" ,
8081 "@types/d3-scale-chromatic" : " ^2.0.0" ,
8182 "@types/d3-selection" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments