Skip to content

Commit

Permalink
Downgrade Jest to 26 to fix error
Browse files Browse the repository at this point in the history
Fixes warning when running tests "TypeError: Cannot destructure property 'config' of 'options' as it is undefined"

See callstack/react-native-testing-library#743
  • Loading branch information
CodingItWrong committed Feb 5, 2022
1 parent e4f35df commit c8f982a
Show file tree
Hide file tree
Showing 2 changed files with 651 additions and 644 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -46,12 +46,12 @@
"@react-native-community/eslint-config": "^3.0.1",
"@testing-library/jest-native": "^4.0.4",
"@testing-library/react-native": "^9.0.0",
"babel-jest": "^27.4.6",
"babel-jest": "^26.6.3",
"cypress": "^9.4.1",
"eslint": "^7.32.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "~2.25.4",
"jest": "^27.4.7",
"jest": "^26.6.3",
"jest-expo": "^44.0.0",
"react-test-renderer": "^17.0.2"
},
Expand Down

0 comments on commit c8f982a

Please sign in to comment.