lib/dopstick/generator/npm/templates/jest.erb in dopstick-0.0.4 vs lib/dopstick/generator/npm/templates/jest.erb in dopstick-0.0.5
- old
+ new
@@ -4,9 +4,9 @@
...config,
testRegex: ".*?\\.test\\.ts",
roots: ["<rootDir>/src"],
modulePaths: ["src"],
moduleNameMapper: {
- "^~/": "<rootDir>/src/",
+ "^~/(.*?)$": "<rootDir>/src/$1",
},
testPathIgnorePatterns: ["/vendor/bundle/", "node_modules"],
};