-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Upgrade Jest packages to latest versions in /ui
This is preparatory work to upgrade msw, which proved out to be impossible to do (at least for me) with older versions of Jest. Notes about the changes: - The syntax for Jest transformers has changed, updated cssTransform.js accordingly - By default, Jest doesn't transform files in node_modules (anymore?), but we need to transpile ES module dependencies to CommonJS because Jest can't handle ESM, so we need to un-ignore them in `transformIgnorePatterns` in the Jest config - The transitive nwsapi dependency needs to be pinned to an older version in package.json since the newest versions fail to parse some CSS class names that Elastic UI generates. This workaround was suggested in dperini/nwsapi#139 (comment) Signed-off-by: Harri Lehtola <peruukki@hotmail.com>
- Loading branch information
Showing
4 changed files
with
847 additions
and
704 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
Oops, something went wrong.