-
-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dev dependencies (#2830)
* chore(deps): update dev dependencies * fix: react basic&async tests * change eslint exceptions * Revert "change eslint exceptions" This reverts commit a313108. * Revert "fix: react basic&async tests" This reverts commit 992e263. * patch RTL and hack userEvent * do not patch for old RTL * test hack for react 18 * remove garbage in the patch * update lock
- Loading branch information
Showing
19 changed files
with
457 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/dist/pure.js b/dist/pure.js | ||
index 7b62fa743198d1928e02501cc99f5dd7c230e9a6..757cbc4f46ae9fce59cb770da88ebb34b3daf2af 100644 | ||
--- a/dist/pure.js | ||
+++ b/dist/pure.js | ||
@@ -169,7 +169,7 @@ function createLegacyRoot(container) { | ||
} | ||
}; | ||
} | ||
-function renderRoot(ui, { | ||
+async function renderRoot(ui, { | ||
baseElement, | ||
container, | ||
hydrate, | ||
@@ -177,7 +177,7 @@ function renderRoot(ui, { | ||
root, | ||
wrapper: WrapperComponent | ||
}) { | ||
- (0, _actCompat.default)(() => { | ||
+ await (0, _actCompat.default)(() => { | ||
if (hydrate) { | ||
root.hydrate(strictModeIfNeeded(wrapUiIfNeeded(ui, WrapperComponent)), container); | ||
} else { |
Oops, something went wrong.