Skip to content
Snippets Groups Projects
Commit 477f9b65 authored by Alexander Rose's avatar Alexander Rose
Browse files

try moduleNameMapper for jest

parent 81f6ec7b
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,15 @@
"node_modules",
"build/node_modules"
],
"moduleNameMapper": {
"mol-task(.*)": "<rootDir>/src/mol-task$1",
"mol-comp(.*)": "<rootDir>/src/mol-comp$1",
"mol-util(.*)": "<rootDir>/src/mol-util$1",
"mol-data(.*)": "<rootDir>/src/mol-data$1",
"mol-math(.*)": "<rootDir>/src/mol-math$1",
"mol-io(.*)": "<rootDir>/src/mol-io$1",
"mol-model(.*)": "<rootDir>/src/mol-model$1"
},
"testRegex": "\\.spec\\.ts$"
},
"author": "",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment