Skip to content

Commit 3d0ccfa

Browse files
committed
Fix faker import for jest
1 parent 7931e2b commit 3d0ccfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
'/packages/create-react-admin/templates',
2626
],
2727
transformIgnorePatterns: [
28-
'[/\\\\]node_modules[/\\\\](?!(@hookform|react-hotkeys-hook)/).+\\.(js|jsx|mjs|ts|tsx)$',
28+
'[/\\\\]node_modules[/\\\\](?!(@hookform|react-hotkeys-hook|@faker-js/faker)/).+\\.(js|jsx|mjs|ts|tsx)$',
2929
],
3030
transform: {
3131
// '^.+\\.[tj]sx?$' to process js/ts with `ts-jest`

0 commit comments

Comments
 (0)