rsnext/test/e2e/app-dir
Jiachi Liu 2b2c7462cd
Freeze resolved metadata object in dev mode (#45923)
In dev mode, instead of `resolve(resolvedMetadata)` for the parent metadata argument we pass down `resolve(freeze(deepClone(resolvedMetadata)))` as parent metdadata, this approach will avoid users mutating resolved metadata manually but still allowing next manage to merge it during resolving

Closes NEXT-559

- [x] linked task
- [x] e2e tests
2023-02-15 13:49:34 +00:00
..
app test: update flaky app dir test (#45921) 2023-02-14 16:18:21 -08:00
app-alias Add experimental route type checking (#45761) 2023-02-11 15:06:39 +00:00
app-basepath Prefix basePath in navigate and prefix methods in app router (#45771) 2023-02-10 13:01:00 +00:00
app-css Move CSS tests out of the main test suite (#45765) 2023-02-09 23:22:53 +01:00
app-edge Separate navigation and hooks tests into new test suites (#45766) 2023-02-10 00:38:39 +00:00
app-edge-global Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
app-external Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
app-middleware Change NextInstance.fetch Signature (#44575) 2023-01-05 16:31:03 +01:00
app-prefetch Add missing isRootLayout when creating optimistic tree (#45899) 2023-02-14 14:06:58 +01:00
app-rendering Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
app-routes Fix app routes on deploy (#45931) 2023-02-15 09:54:39 +01:00
app-static Update error message for dynamic = "error" (#45432) 2023-02-01 11:20:35 +00:00
asset-prefix Change NextInstance.fetch Signature (#44575) 2023-01-05 16:31:03 +01:00
async-component-preload Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
autoscroll-with-css-modules Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts (#45487) 2023-02-07 12:03:18 +00:00
back-button-download-bug Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
create-next-app-template Optimize bundle size for appDir (#42252) 2022-10-31 17:50:35 +00:00
create-root-layout Add project directory rename/remove handling (#44911) 2023-01-18 14:37:40 -08:00
dynamic Separate next/dynamic implementation for app and pages (#45565) 2023-02-04 01:45:35 +00:00
dynamic-href Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
global-error Update test env variable passing (#44912) 2023-01-15 23:20:16 -08:00
head Add warning for head.js with metadata docs link (#45680) 2023-02-07 17:02:40 -08:00
hooks Separate navigation and hooks tests into new test suites (#45766) 2023-02-10 00:38:39 +00:00
import Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
interpolability-with-pages Update test env for E2E deploy mode (#44937) 2023-01-16 15:39:54 -08:00
layout-params Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
mdx Add additional tests for @next/mdx (#45585)Co-authored-by: Shu Ding <g@shud.in> 2023-02-11 13:37:00 +01:00
metadata Freeze resolved metadata object in dev mode (#45923) 2023-02-15 13:49:34 +00:00
navigation Add status code to app-render redirect response (#45846) 2023-02-13 14:12:16 +01:00
next-font Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts (#45487) 2023-02-07 12:03:18 +00:00
next-image Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
parallel-routes-and-interception Add tests for parallel routes / interception and handle router state patch merging client-side (#45615) 2023-02-13 16:12:44 +01:00
rewrites-redirects Update test env for E2E deploy mode (#44937) 2023-01-16 15:39:54 -08:00
root-layout Test navigation between multiple root layouts (#43762) 2023-01-05 13:27:29 +01:00
router-autoscroll Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts (#45487) 2023-02-07 12:03:18 +00:00
rsc-basic Rename manifest file names (#45877) 2023-02-15 01:03:17 +00:00
test-template/{{ toFileName name }} Add additional tests for @next/mdx (#45585)Co-authored-by: Shu Ding <g@shud.in> 2023-02-11 13:37:00 +01:00
trailingslash Change NextInstance.fetch Signature (#44575) 2023-01-05 16:31:03 +01:00
use-selected-layout-segment-s Update test env variable passing (#44912) 2023-01-15 23:20:16 -08:00
with-babel Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00