diff --git a/jest.config.mjs b/jest.config.mjs index 6ffb6dc..9c1fc65 100644 --- a/jest.config.mjs +++ b/jest.config.mjs @@ -3,6 +3,9 @@ const config = { collectCoverageFrom: ['packages/**/*.{ts,tsx}'], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], modulePathIgnorePatterns: ['/templates'], + moduleNameMapper: { + '^ffjavascript$': '/node_modules/ffjavascript/build/main.cjs', + }, transform: { '^.+\\.(ts|tsx|js|jsx)?$': '@swc-node/jest', },