Skip to content

Commit 155aeb2

Browse files
committed
Fix React Native example
1 parent a697f3b commit 155aeb2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/ReactNative/jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
const { defaults } = require('jest-config');
1+
//const { defaults } = require('jest-config');
2+
// FIXME See Export default config https://github.com/facebook/jest/issues/5943
3+
const defaults = require('jest-config/build/defaults').default;
24

35
module.exports = {
46
preset: 'jest-expo',

examples/ReactNative/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"clean:all": "rm -rf .expo && yarn clean && yarn clean:node_modules",
1616

1717
"start": "react-native-scripts start",
18-
"eject": "react-native-scripts eject",
1918
"android": "react-native-scripts android",
2019
"ios": "react-native-scripts ios",
20+
2121
"test": "jest"
2222
},
2323

0 commit comments

Comments
 (0)