b596ce9d6a
Ref: https://github.com/vercel/next.js/issues/36842, https://github.com/vercel/next.js/pull/36632, https://github.com/vercel/next.js/pull/36787 Upgrading to Jest 28, and aligning Babel example with `with-jest` ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
24 lines
546 B
JSON
24 lines
546 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"test": "jest --watch",
|
|
"test:ci": "jest --ci"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^18.1.0",
|
|
"react-dom": "^18.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "5.16.4",
|
|
"@testing-library/react": "13.2.0",
|
|
"@testing-library/user-event": "14.2.0",
|
|
"@types/react": "18.0.9",
|
|
"jest": "28.1.0",
|
|
"jest-environment-jsdom": "28.1.0",
|
|
"typescript": "4.6.4"
|
|
}
|
|
}
|