Allow inline snapshots

This commit is contained in:
istarkov committed 2022-11-06 14:16:08 +00:00
1 parent 866eae1e82
commit ecdfcbde32
1 file changed
+6 -1
+6 -1
View File
@@ -2,7 +2,12 @@ module.exports = {
testEnvironment: "node",
testMatch: ["<rootDir>/src/**/*.test.ts"],
transform: {
"^.+\\.tsx?$": "esbuild-jest",
"^.+\\.tsx?$": [
"esbuild-jest",
{
sourcemap: true,
},
],
},
moduleNameMapper: {
"^~/(.*)$": "<rootDir>/src/$1",