Skip to content

Commit 62fe994

Browse files
committed
Fix interleaving IS_REACT_ACT_ENVIRONMENT context
1 parent c456f06 commit 62fe994

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/@react-aria/dnd/test/dnd.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2096,7 +2096,7 @@ describe('useDrag and useDrop', function () {
20962096

20972097
expect(() => tree.getAllByRole('textbox')).toThrow();
20982098

2099-
await act(async () => setShowInput2(true));
2099+
act(() => setShowInput2(true));
21002100
// MutationObserver is async
21012101
await waitFor(() => expect(() => tree.getAllByRole('textbox')).toThrow());
21022102

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4746,9 +4746,9 @@
47464746
store2 "^2.7.1"
47474747

47484748
"@testing-library/dom@^8.0.0", "@testing-library/dom@^8.5.0":
4749-
version "8.11.0"
4750-
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.11.0.tgz#3679dfb4db58e0d2b95e4b0929eaf45237b60d94"
4751-
integrity sha512-8Ay4UDiMlB5YWy+ZvCeRyFFofs53ebxrWnOFvCoM1HpMAX4cHyuSrCuIM9l2lVuUWUt+Gr3loz/nCwdrnG6ShQ==
4749+
version "8.11.1"
4750+
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.11.1.tgz#03fa2684aa09ade589b460db46b4c7be9fc69753"
4751+
integrity sha512-3KQDyx9r0RKYailW2MiYrSSKEfH0GTkI51UGEvJenvcoDoeRYs0PZpi2SXqtnMClQvCqdtTTpOfFETDTVADpAg==
47524752
dependencies:
47534753
"@babel/code-frame" "^7.10.4"
47544754
"@babel/runtime" "^7.12.5"

0 commit comments

Comments
 (0)