rsnext/test
JJ Kasper cdd366fd97
Fix usage of router.refresh() with Draft Mode in App Router (#50941)
After enabling Draft Mode, `router.refresh()` was incorrectly causing the page to crash and do a full page refresh.

This PR fixes this case.

Co-authored-by: Steven <229881+styfle@users.noreply.github.com>
2023-06-09 00:15:55 +00:00
..
.stats-app Alias next/server for edge runtime (#50268) 2023-05-24 15:34:29 -07:00
__mocks__ [edge] bump @edge-runtime/* package suite (#49092) 2023-05-31 08:03:20 +00:00
development Break up large test suites (#50458) 2023-05-28 13:59:41 -07:00
e2e Fix usage of router.refresh() with Draft Mode in App Router (#50941) 2023-06-09 00:15:55 +00:00
examples feat(cli): introduce --tailwind flag (#46927) 2023-03-16 16:06:27 +01:00
integration Bump to typescript@5.1 (#50557) 2023-06-08 17:18:37 +00:00
lib Add experimental caseSensitiveRoutes config (#50869) 2023-06-07 21:50:22 +00:00
production Update id config handling (#50847) 2023-06-06 07:54:06 -07:00
unit fix: eslint not ignoring "/app" (#50261) 2023-05-26 16:27:42 +00:00
.gitignore Fix static opt of routes generation for static metadata files (#48528) 2023-04-18 12:13:55 +00:00
jest-setup-after-env.ts Increase CI test timeout (#47973) 2023-04-05 10:16:48 -07:00
jest.d.ts Adds tests to ensure eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined. (#38183) 2022-06-30 11:31:33 -05:00
readme.md refactor: split up CONTRIBUTING.md (#40515) 2022-09-16 14:54:58 -07:00
test-file.txt

See Testing for more information on how you can run/write/debug tests for Next.js.