-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps(jest): fix chromatic jest related bug (#199)
Chromatic [tests were failing](https://github.com/cfpb/design-system-react/actions/runs/6433456084/job/17470552029?pr=194#step:5:143) with a weird `Error: page.evaluate: TypeError: expect.extend: `default` is not a valid matcher. Must be a function, is "object"` error. ## Changes - updates the version for `"@storybook/jest"` to `"^0.2.2",` to fix a bug with the jest/storybook integration ([see the issue thread](storybookjs/storybook#24194)) ## How to test this PR 1. Make sure storybook still works as intended 2. Note that chromatic no longer fails in CI on this PR ## Screenshots <img width="1264" alt="Screenshot 2023-10-11 at 7 35 34 AM" src="https://github.com/cfpb/design-system-react/assets/19983248/4f6a9212-ffbf-41d2-bc2c-e219b8c9131d">
- Loading branch information
1 parent
b385c43
commit 91ad005
Showing
2 changed files
with
28 additions
and
15 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