Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

chore: do not transpile cljs in tests (#72248)

Uladzimir Havenchykd95a444446e3
diff --git a/jest.config.js b/jest.config.js
index 1a9004a0c9b..7615dba50b4 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -49,6 +49,8 @@ const baseConfig = {
// - Flat: node_modules/<pkg>/ where <pkg> is NOT in esmPackages
// - Bun: node_modules/.bun/<pkg>@<ver>/ where <pkg> is NOT in esmPackages
`<rootDir>/node_modules/(?:\\.bun/(?!(${esmPackages.join("|")})@)|(?!\\.bun)(?!(${esmPackages.join("|")})/))`,
+ // CLJS files are already compiled CJS — skip transform entirely
+ "<rootDir>/target/cljs_dev/",
],
testPathIgnorePatterns: [
"<rootDir>/frontend/.*/.*.tz.unit.spec.{js,jsx,ts,tsx}",