Skip to content

Commit

Permalink
fix: 🚑 fix test time execution (deriv-com#15806)
Browse files Browse the repository at this point in the history
  • Loading branch information
heorhi-deriv authored Jun 27, 2024
1 parent 09a3a61 commit 3d5f547
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
testRegex: '(/__tests__/.*|(\\.)(test|spec))\\.(js|jsx|tsx|ts)?$',
// This is needed to transform es modules imported from node_modules of the target component.
transformIgnorePatterns: [
'/node_modules/(?!(@enykeev/react-virtualized|@simplewebauthn/browser|@deriv/quill-design|@deriv/quill-icons|@deriv-com/ui|@deriv-com/translations)).+\\.js$',
'/node_modules/(?!(@enykeev/react-virtualized|@simplewebauthn/browser|@deriv-com/ui|@deriv-com/quill-ui|@sendbird/chat)).+\\.js$',
],
setupFiles: ['<rootDir>/../../jest.setup.js'],
setupFilesAfterEnv: ['<rootDir>/../../setupTests.js'],
Expand Down
1 change: 0 additions & 1 deletion packages/cashier-v2/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ export default {
'\\.s(c|a)ss$': '<rootDir>/../../__mocks__/styleMock.js',
'^.+\\.svg$': '<rootDir>/../../__mocks__/fileMock.js',
},
transformIgnorePatterns: ['/node_modules/(?!(@deriv-com/ui)).+\\.js$'],
};
1 change: 0 additions & 1 deletion packages/components/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ module.exports = {
'^.+\\.svg$': '<rootDir>/../../__mocks__/styleMock.js',
},
modulePathIgnorePatterns: ['/icon/', '/.out/'],
transformIgnorePatterns: ['/node_modules/(?!(@deriv-com/ui)).+\\.js$'],
};
1 change: 0 additions & 1 deletion packages/p2p-v2/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ module.exports = {
'\\.s(c|a)ss$': '<rootDir>/../../__mocks__/styleMock.js',
'^.+\\.svg$': '<rootDir>/../../__mocks__/fileMock.js',
},
transformIgnorePatterns: ['/node_modules/(?!(@deriv-com/ui|@sendbird/chat)).+\\.js$'],
};
1 change: 0 additions & 1 deletion packages/p2p/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ module.exports = {
'<rootDir>/coverage/lcov-report',
'<rootDir>/dist',
],
transformIgnorePatterns: ['/node_modules/(?!(@sendbird/chat|@simplewebauthn/browser|@deriv-com/ui)).+\\.js$'],
};
1 change: 0 additions & 1 deletion packages/trader/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ module.exports = {
'^Services/(.*)$': '<rootDir>/src/Services/$1',
'^Stores/(.*)$': '<rootDir>/src/Stores/$1',
},
transformIgnorePatterns: ['/node_modules/(?!(@deriv-com/quill-ui|@deriv-com/ui|@simplewebauthn/browser)).+\\.js$'],
};

0 comments on commit 3d5f547

Please sign in to comment.