Skip to content

Commit

Permalink
fix react render hanging test
Browse files Browse the repository at this point in the history
  • Loading branch information
tjzel committed Apr 24, 2023
1 parent 73de405 commit 9f24081
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions jest-setup.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
delete global.MessageChannel;
require('./src/reanimated2/jestUtils').setUpTests();
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
"madge": "^5.0.1",
"prettier": "^2.5.1",
"react": "17.0.2",
"react-16-node-hanging-test-fix": "^1.0.0",
"react-native": "0.72.0-rc.1",
"react-native-builder-bob": "^0.18.3",
"react-native-gesture-handler": "^2.9.0",
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6344,6 +6344,13 @@ rc@^1.2.7:
minimist "^1.2.0"
strip-json-comments "~2.0.1"

react-16-node-hanging-test-fix@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/react-16-node-hanging-test-fix/-/react-16-node-hanging-test-fix-1.0.0.tgz#9fef3f7d983789d64971311d3cd17116849a56b3"
integrity sha512-D22iNNa+0MuMPA49nZ5ILBHiJ7h9PTeUUuZee38pFSEWlHOYnHEWzUjOlYjEo6Ji+axHrRnT+y1QRIJOcIcj4w==
dependencies:
semver "^7.3.4"

react-devtools-core@^4.27.2:
version "4.27.6"
resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.27.6.tgz#e5a613014f7506801ed6c1a97bd0e6316cc9c48a"
Expand Down Expand Up @@ -6779,7 +6786,7 @@ semver@^6.0.0, semver@^6.1.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==

semver@^7.3.5, semver@^7.3.7:
semver@^7.3.4, semver@^7.3.5, semver@^7.3.7:
version "7.5.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.0.tgz#ed8c5dc8efb6c629c88b23d41dc9bf40c1d96cd0"
integrity sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==
Expand Down

0 comments on commit 9f24081

Please sign in to comment.