Skip to content

Commit 19bc11b

Browse files
committed
fix jest cfg
1 parent 9abd1ff commit 19bc11b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

genkit-tools/common/jest.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ const config: Config = {
4141

4242
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
4343
transformIgnorePatterns: ['/node_modules/'],
44+
45+
moduleNameMapper: {
46+
'^(\\.{1,2}/.*)\\.js$': '$1',
47+
},
4448
};
4549

4650
export default config;

0 commit comments

Comments
 (0)