Commit fd541a1
committed
fix(pg-codegen): add Jest moduleNameMapper for workspace dependencies
- Add moduleNameMapper configuration in packages/pg-codegen/jest.config.js
- Maps @launchql/* packages to packages/*/dist directories
- Maps pgsql-test, graphile-test, pg-env, and pg-cache to their dist directories
- Fixes Jest module resolution issues with pnpm's isolated structure
- Required for tests that import pgsql-test which depends on @launchql/logger1 parent 533cac6 commit fd541a1
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
18 | 26 | | |
0 commit comments