Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(PPDSC-1580): upgrade to jest 29 #576

Merged
merged 3 commits into from
Jan 23, 2023

Conversation

JohnTParsons
Copy link
Collaborator

PPDSC-1580

What

  1. Background - Jest 29 seems to be 20-30% quicker than Jest 28. Please read https://nidigitalsolutions.jira.com/browse/PPDSC-1580?focusedCommentId=539031 for full background
  2. What did you do. Upgrade Jest
  3. What does the reviewers should expect. All tests still passing

I have done:

  • Written unit tests against changes
  • Written functional tests against the component and/or NewsKit site
  • Updated relevant documentation

I have tested manually:

  • The feature's functionality is working as expected on Chrome, Firefox, Safari and Edge
  • The screen reader reads and flows through the elements as expected.
  • There are no new errors in the browser console coming from this PR.
  • When visual test is not added, it renders correctly on different browsers and mobile viewports (Safari, Firefox, small mobile viewport, tablet)
  • The Playground feature is working as expected

Before:

After:

Who should review this PR:

How to test:

@JohnTParsons JohnTParsons requested a review from a team as a code owner January 20, 2023 08:51
@pp-serviceaccount
Copy link
Collaborator

@mutebg mutebg added the ready for review Please assist in getting this reviewed label Jan 23, 2023
mutebg
mutebg previously approved these changes Jan 23, 2023
src/icons/__tests__/icons.stories.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@Xin00163 Xin00163 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if it's my local machine, the tests run is still very slow for me
Screenshot 2023-01-23 at 10 17 59

svg-previewer test is failing for me as well:
Screenshot 2023-01-23 at 09 34 31

I am getting some validation warnings. See below:
Screenshot 2023-01-23 at 09 19 17

@JohnTParsons
Copy link
Collaborator Author

JohnTParsons commented Jan 23, 2023 via email

@Xin00163
Copy link
Contributor

Xin00163 commented Jan 23, 2023

Thanks @JohnTParsons. Will give v16.10 a try

What a difference. Shocking 😱
Screenshot 2023-01-23 at 10 56 12

@JohnTParsons JohnTParsons merged commit 6b65054 into main Jan 23, 2023
@JohnTParsons JohnTParsons deleted the chore/ppdsc-1580-upgrade-jest-29 branch January 23, 2023 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review Please assist in getting this reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants