Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use attachTo in failing tests with jsdom v21.1 (#1952)
`attachTo` can be removed when jsdom/jsdom#3502 is fixed With jsdom v21.1, `getComputedStyle` is cached and not updated for elements not in the DOM so some our tests fail (because the elements are checked a first time)
- Loading branch information
Showing
3 changed files
with
22 additions
and
16 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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