-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
766d27b
commit 4ee3469
Showing
3 changed files
with
15 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ declare global { | |
} | ||
|
||
const act = | ||
// @ts-expect-error - Older versions of React don't have the `act` method, so TypeScript will complain about it | ||
Check failure on line 9 in src/test-utils.ts GitHub Actions / test
Check failure on line 9 in src/test-utils.ts GitHub Actions / test
|
||
typeof React.act === "function" ? React.act : DeprecatedReactTestUtils.act; | ||
|
||
type Item = { | ||
|