Skip to content

Commit f0d86a3

Browse files
committed
fix: fix tests in local setup
1 parent b95fd5e commit f0d86a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jest.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,10 @@ module.exports = {
1717
moduleNameMapper: {
1818
"^vscode$": "<rootDir>/src/test/mock/vscode.ts",
1919
"^@lib$": "<rootDir>/src/test/mock/lib.ts",
20+
// Development: use local TypeScript source (same as webpack and tsconfig)
21+
"^@altimateai/dbt-integration$":
22+
"<rootDir>/../altimate-dbt-integration/src/index.ts",
23+
// Production: use npm package (commented out for development)
24+
// "^@altimateai/dbt-integration$": "@altimateai/dbt-integration",
2025
},
2126
};

0 commit comments

Comments
 (0)