rsnext/test/development
Leah c1c3675fc4
refactor tests for readability (#51051)
You'll probably want to disable whitespace in the diff

## Description

This allows for better editor support by using `describe` or functions called `describe` with the same syntax instead of custom names.

Changes:
- `nextTestSetup` can be used instead of `createNextDescribe` keeping the same behaviour but being called inside a `describe` "block" (not applied everywhere)
- `getSnapshotTestDescribe` replaced with a custom `describe.each`
- `sandbox` helper function for `acceptance`/`acceptance-app` merged into a single shared one
- `outdent` to remove the indent from inline files in tests which helps with consistent snapshots
2023-06-21 19:47:21 +00:00
..
acceptance refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
acceptance-app refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
api-cors-with-rewrite fix(#11930): rewritten api routes can correctly handle cors in dev mode (#38937) 2022-07-29 21:39:43 -05:00
api-route-errors Update dev logs to include request timings (#49191) 2023-05-04 12:33:03 -07:00
app-dir/multiple-compiles-single-route Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
app-hmr Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
app-render-error-log Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
basic Break up large test suites (#50458) 2023-05-28 13:59:41 -07:00
client-dev-overlay Allowing hiding the ReactDevOverlay (#37417) 2022-06-06 14:21:53 -04:00
correct-tsconfig-defaults Update flakey tsconfig test (#40105) 2022-08-30 12:31:38 -05:00
dotenv-default-expansion Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
gssp-notfound Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
jsconfig-path-reloading Refactor internal modules (#50338) 2023-05-27 08:22:15 +02:00
middleware-warnings refactor tests for readability (#51051) 2023-06-21 19:47:21 +00:00
next-font Remove experimental config from create-next-app (#49241) 2023-05-05 00:22:28 -07:00
project-directory-with-styled-jsx-suffix fix: allow user directory with styled-jsx prefix in next dev (#41484) 2022-10-19 19:01:48 +00:00
repeated-dev-edits Add test checking that repeated edits won't cause hydration issues (#44189) 2022-12-21 14:17:50 +01:00
tsconfig-path-reloading Refactor internal modules (#50338) 2023-05-27 08:22:15 +02:00
typescript-auto-install Update test config (#43661) 2022-12-03 19:49:00 -08:00
watch-config-file Auto-restart dev server when next.config.js changes (#47912) 2023-04-05 18:17:54 +00:00
webpack-issuer-deprecation-warning fix(next): use moduleGraph.getIssuer to avoid deprecation warning (#36329) (#36330) 2022-04-21 14:14:03 +00:00