-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(tests): Migrate from Enzyme to RTL (1st batch) (#1535)
* chore(tests): First batch of tests conversion * chore(tests): Conver Settings-test to RTL * chore(tests): Convert SliderControl test to RTL * chore(tests): Convert ArchiveExplorer test to RTL * chore(tests): The next batch of tests conversion * chore(tests): Bump types * chore(tests): Apply user-events where possible * chore(tests): Apply suggestions and clean up * chore(tests): Update button focus test
- Loading branch information
Showing
43 changed files
with
2,581 additions
and
1,791 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
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,15 @@ | ||
declare global { | ||
// eslint-disable-next-line vars-on-top, no-var | ||
var MouseEventExtended: { | ||
new ( | ||
type: string, | ||
eventInitDict?: MouseEventInit & { | ||
pageX?: number; | ||
pageY?: number; | ||
}, | ||
): MouseEvent; | ||
prototype: MouseEvent; | ||
}; | ||
} | ||
|
||
export {}; |
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
Oops, something went wrong.