mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 20:44:05 +09:00
Allow inline snapshots
This commit is contained in:
1 parent
866eae1e82
commit
ecdfcbde32
1 file changed
+6
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user