Skip to content

Commit

Permalink
fix: add apex stubs to the transformIgnorePatterns (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
jodarove committed Apr 12, 2021
1 parent 1c34fe1 commit fe8381a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const jestConfig = {
'^.+\\.(js|html|css)$': require.resolve('@lwc/jest-transformer'),
},
transformIgnorePatterns: [
'/node_modules/(?!(.*@salesforce/sfdx-lwc-jest/src/lightning-stubs)/)',
'/node_modules/(?!(.*@salesforce/sfdx-lwc-jest/src/(lightning|apex)-stubs)/)',
],
setupFilesAfterEnv: jestPreset.setupFilesAfterEnv || [],
resolver: path.resolve(__dirname, './resolver.js'),
Expand Down

0 comments on commit fe8381a

Please sign in to comment.