Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Allow inline snapshots

istarkovecdfcbde3218
diff --git a/packages/jest-config/index.js b/packages/jest-config/index.js
index 716a7294c9..8c47238ded 100644
--- a/packages/jest-config/index.js
+++ b/packages/jest-config/index.js
@@ -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",