Skip to content

Commit

Permalink
refs #2 Ensure proper ffjavascript version gets loaded for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elboletaire committed Dec 4, 2024
1 parent 4fd2c59 commit 49cad1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const config = {
collectCoverageFrom: ['packages/**/*.{ts,tsx}'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
modulePathIgnorePatterns: ['<rootDir>/templates'],
moduleNameMapper: {
'^ffjavascript$': '<rootDir>/node_modules/ffjavascript/build/main.cjs',
},
transform: {
'^.+\\.(ts|tsx|js|jsx)?$': '@swc-node/jest',
},
Expand Down

0 comments on commit 49cad1c

Please sign in to comment.