Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9694381

Browse files
committed
chore: fix jest config after UP [email protected]
1 parent 9e3c6d3 commit 9694381

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

packages/heuristic-table-plugin/jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ module.exports = {
33
moduleFileExtensions: ['ts', 'tsx', 'js', 'json', 'node'],
44
testRegex: 'src/.*\\.test\\.tsx?$',
55
coveragePathIgnorePatterns: ['/node_modules/', '__tests__'],
6-
transformIgnorePatterns: ['node_modules/(?!(react-native|ramda)/)']
6+
transformIgnorePatterns: [
7+
'node_modules/(?!(@react-native|react-native|ramda)/)'
8+
]
79
};

packages/iframe-plugin/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ module.exports = {
44
testRegex: 'src/.*\\.test\\.tsx?$',
55
coveragePathIgnorePatterns: ['/node_modules/', '__tests__'],
66
transformIgnorePatterns: [
7-
'node_modules/(?!(react-native|react-native-webview|ramda|react-native-render-html)/)'
7+
'node_modules/(?!(@react-native|react-native|react-native-webview|ramda|react-native-render-html)/)'
88
]
99
};

packages/table-plugin/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
testRegex: 'src/.*\\.test\\.tsx?$',
55
coveragePathIgnorePatterns: ['/node_modules/', '__tests__'],
66
transformIgnorePatterns: [
7-
'node_modules/(?!(react-native|react-native-webview|ramda|react-native-render-html)/)'
7+
'node_modules/(?!(@react-native|react-native|react-native-webview|ramda|react-native-render-html)/)'
88
],
99
setupFilesAfterEnv: ['./jest/setupJest.js']
1010
};

0 commit comments

Comments
 (0)