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

Next v12 upgrade #34

Merged
merged 10 commits into from
Dec 8, 2021
Merged

Next v12 upgrade #34

merged 10 commits into from
Dec 8, 2021

Conversation

FreakinWard
Copy link
Owner

@FreakinWard FreakinWard commented Dec 7, 2021

nextjs v12 upgrade

swc/jest is still experimental - jest tests run as expected.

However, jest coverage reports incorrectly.

With suggested rust configuration

CleanShot 2021-12-08 at 00 13 59@2x

With suggested babel configuration

// jest.config.js

...
transform: {
    '^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { presets: ['next/babel'] }],
  },
...

CleanShot 2021-12-08 at 00 16 25@2x

@codeclimate
Copy link

codeclimate bot commented Dec 8, 2021

Code Climate has analyzed commit c95c4db and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (100% is the threshold).

This pull request will bring the total coverage in the repository to 100.0%.

View more on Code Climate.

@FreakinWard FreakinWard merged commit cc07093 into main Dec 8, 2021
@FreakinWard FreakinWard deleted the next-v12 branch December 8, 2021 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant