diff --git a/test/e2e/app-dir/webpack-loader-set-environment-variable/app/layout.tsx b/test/e2e/app-dir/webpack-loader-set-environment-variable/app/layout.tsx
new file mode 100644
index 0000000000000..888614deda3ba
--- /dev/null
+++ b/test/e2e/app-dir/webpack-loader-set-environment-variable/app/layout.tsx
@@ -0,0 +1,8 @@
+import { ReactNode } from 'react'
+export default function Root({ children }: { children: ReactNode }) {
+ return (
+
+
{children}
+
+ )
+}
diff --git a/test/e2e/app-dir/webpack-loader-set-environment-variable/app/next.svg b/test/e2e/app-dir/webpack-loader-set-environment-variable/app/next.svg
new file mode 100644
index 0000000000000..5174b28c565c2
--- /dev/null
+++ b/test/e2e/app-dir/webpack-loader-set-environment-variable/app/next.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/test/e2e/app-dir/webpack-loader-set-environment-variable/app/page.tsx b/test/e2e/app-dir/webpack-loader-set-environment-variable/app/page.tsx
new file mode 100644
index 0000000000000..f1ed39615ce92
--- /dev/null
+++ b/test/e2e/app-dir/webpack-loader-set-environment-variable/app/page.tsx
@@ -0,0 +1,11 @@
+import Svg from './next.svg'
+export default function Page() {
+ return (
+ <>
+
hello world
+
+
+
+ >
+ )
+}
diff --git a/test/e2e/app-dir/webpack-loader-set-environment-variable/custom-loader.js b/test/e2e/app-dir/webpack-loader-set-environment-variable/custom-loader.js
new file mode 100644
index 0000000000000..b8ad6e2935a89
--- /dev/null
+++ b/test/e2e/app-dir/webpack-loader-set-environment-variable/custom-loader.js
@@ -0,0 +1,4 @@
+module.exports = (_source) => {
+ process.env.TEST_THIS_THING = 'def'
+ return 'export default () => "The svg rendered"'
+}
diff --git a/test/e2e/app-dir/webpack-loader-set-environment-variable/next.config.js b/test/e2e/app-dir/webpack-loader-set-environment-variable/next.config.js
new file mode 100644
index 0000000000000..c66006c1946f1
--- /dev/null
+++ b/test/e2e/app-dir/webpack-loader-set-environment-variable/next.config.js
@@ -0,0 +1,24 @@
+const { join } = require('path')
+
+/** @type {import('next').NextConfig} */
+const nextConfig = {
+ reactStrictMode: true,
+ turbopack: {
+ rules: {
+ '*.svg': {
+ as: '*.js',
+ loaders: [join(__dirname, './custom-loader.js')],
+ },
+ },
+ },
+ webpack(config) {
+ config.module.rules.push({
+ test: /\.svg$/,
+ use: [join(__dirname, './custom-loader.js')],
+ })
+
+ return config
+ },
+}
+
+module.exports = nextConfig
diff --git a/test/e2e/app-dir/webpack-loader-set-environment-variable/webpack-loader-set-environment-variable.test.ts b/test/e2e/app-dir/webpack-loader-set-environment-variable/webpack-loader-set-environment-variable.test.ts
new file mode 100644
index 0000000000000..b70f366d15866
--- /dev/null
+++ b/test/e2e/app-dir/webpack-loader-set-environment-variable/webpack-loader-set-environment-variable.test.ts
@@ -0,0 +1,17 @@
+import { nextTestSetup } from 'e2e-utils'
+
+describe('webpack-loader-set-environment-variable', () => {
+ const { next } = nextTestSetup({
+ files: __dirname,
+ env: {
+ TEST_THIS_THING: 'def',
+ },
+ })
+
+ // Recommended for tests that check HTML. Cheerio is a HTML parser that has a jQuery like API.
+ it('loader that sets an environment variable should work', async () => {
+ const $ = await next.render$('/')
+ expect($('p').text()).toBe('hello world')
+ expect($('#the-svg').text()).toBe('The svg rendered')
+ })
+})
diff --git a/test/rspack-dev-tests-manifest.json b/test/rspack-dev-tests-manifest.json
index fe118e22f3541..294810d4edeb1 100644
--- a/test/rspack-dev-tests-manifest.json
+++ b/test/rspack-dev-tests-manifest.json
@@ -436,6 +436,20 @@
"flakey": [],
"runtimeError": false
},
+ "packages/next/src/build/static-paths/app.test.ts": {
+ "passed": [
+ "assignErrorIfEmpty should assign throwOnEmptyStaticShell false for a static route",
+ "assignErrorIfEmpty should assign throwOnEmptyStaticShell to the prerendered routes",
+ "assignErrorIfEmpty should handle more complex routes",
+ "filterUniqueParams should filter out duplicate parameters",
+ "filterUniqueParams should handle more complex routes",
+ "filterUniqueRootParamsCombinations should return only the root parameters"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"packages/next/src/build/webpack/loaders/metadata/resolve-route-data.test.ts": {
"passed": [
"resolveRouteData resolveRobots should error with ts when specify both wildcard userAgent and specific userAgent",
@@ -513,7 +527,10 @@
"runtimeError": false
},
"packages/next/src/client/components/react-dev-overlay/ui/components/code-frame/parse-code-frame.test.ts": {
- "passed": ["parse line numbers parse line numbers from code frame"],
+ "passed": [
+ "parse line numbers parse line numbers from code frame",
+ "parse line numbers parse line numbers when a token contains both break and spaces"
+ ],
"failed": [],
"pending": [],
"flakey": [],
@@ -1082,6 +1099,16 @@
"flakey": [],
"runtimeError": false
},
+ "packages/next/src/server/lib/fix-mojibake.test.ts": {
+ "passed": [
+ "Mojibake handling should fix invalid encoding",
+ "Mojibake handling should maintain value when encoding is correct $1"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"packages/next/src/server/lib/i18n-provider.test.ts": {
"passed": [
"I18NProvider analyze for pathname / and defaultLocale en",
@@ -1148,6 +1175,7 @@
},
"packages/next/src/server/lib/router-utils/build-prefetch-segment-data-route.test.ts": {
"passed": [
+ "buildInversePrefetchSegmentDataRoute should build an inverted prefetch segment data route",
"buildPrefetchSegmentDataRoute should build a prefetch segment data route"
],
"failed": [],
@@ -1915,7 +1943,9 @@
"test/development/acceptance-app/hydration-error.test.ts": {
"passed": [
"Error overlay for hydration errors in App router includes a React docs link when hydration error does occur",
- "Error overlay for hydration errors in App router should not show a hydration error when using `useId` in a client component",
+ "Error overlay for hydration errors in App router should not show a hydration error when using `useId` in a client component"
+ ],
+ "failed": [
"Error overlay for hydration errors in App router should only show one hydration error when bad nesting happened - div > tr",
"Error overlay for hydration errors in App router should only show one hydration error when bad nesting happened - div under p",
"Error overlay for hydration errors in App router should only show one hydration error when bad nesting happened - p under p",
@@ -1931,7 +1961,6 @@
"Error overlay for hydration errors in App router should show error if script is directly placed under html instead of body",
"Error overlay for hydration errors in App router should show the highlighted bad nesting html snippet when bad nesting happened"
],
- "failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
@@ -1986,11 +2015,10 @@
"Error overlay - RSC build errors should throw an error when error file is a server component",
"Error overlay - RSC build errors should throw an error when error file is a server component with empty error file",
"Error overlay - RSC build errors should throw an error when getServerSideProps is used",
+ "Error overlay - RSC build errors should throw an error when metadata export is used in client components",
"Error overlay - RSC build errors should throw an error when metadata exports are used together in server components"
],
- "failed": [
- "Error overlay - RSC build errors should throw an error when metadata export is used in client components"
- ],
+ "failed": [],
"pending": [
"Error overlay - RSC build errors should throw an error when getStaticProps is used"
],
@@ -2272,8 +2300,8 @@
"runtimeError": false
},
"test/development/app-dir/build-error-logs/build-error-logs.test.ts": {
- "passed": ["build-error-logs should only log error a single time"],
- "failed": [],
+ "passed": [],
+ "failed": ["build-error-logs should only log error a single time"],
"pending": [],
"flakey": [],
"runtimeError": false
@@ -2387,11 +2415,10 @@
},
"test/development/app-dir/edge-errors-hmr/index.test.ts": {
"passed": [
+ "develop - app-dir - edge errros hmr should recover from build errors when client component error",
"develop - app-dir - edge errros hmr should recover from build errors when server component error"
],
- "failed": [
- "develop - app-dir - edge errros hmr should recover from build errors when client component error"
- ],
+ "failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
@@ -2478,6 +2505,16 @@
"flakey": [],
"runtimeError": false
},
+ "test/development/app-dir/hmr-symlink/hmr-symlink.test.ts": {
+ "passed": [
+ "HMR symlinks tracks updates to symlinked target",
+ "HMR symlinks tracks updates to the symlink"
+ ],
+ "failed": [],
+ "pending": ["HMR symlinks tracks updates to the middle of a symlink chain"],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/development/app-dir/hook-function-names/hook-function-names.test.ts": {
"passed": [],
"failed": [
@@ -2648,13 +2685,13 @@
"react-dom/server in React Server environment explicit react-dom/server.browser usage in library code",
"react-dom/server in React Server environment explicit react-dom/server.edge usage in app code",
"react-dom/server in React Server environment explicit react-dom/server.edge usage in library code",
- "react-dom/server in React Server environment explicit react-dom/server.node usage in app code",
"react-dom/server in React Server environment explicit react-dom/server.node usage in library code",
"react-dom/server in React Server environment implicit react-dom/server.edge usage in app code",
"react-dom/server in React Server environment implicit react-dom/server.edge usage in library code",
"react-dom/server in React Server environment implicit react-dom/server.node usage in library code"
],
"failed": [
+ "react-dom/server in React Server environment explicit react-dom/server.node usage in app code",
"react-dom/server in React Server environment implicit react-dom/server.node usage in app code"
],
"pending": [],
@@ -2710,7 +2747,7 @@
],
"pending": [],
"flakey": [],
- "runtimeError": true
+ "runtimeError": false
},
"test/development/basic/allowed-dev-origins.test.ts": {
"passed": [
@@ -3148,11 +3185,10 @@
"node builtins should support node.js builtins",
"node builtins should support node.js builtins in server component",
"node builtins should support node.js builtins prefixed by node:",
- "node builtins should support node.js builtins prefixed by node: in server component"
- ],
- "failed": [
+ "node builtins should support node.js builtins prefixed by node: in server component",
"node builtins should throw when unsupported builtins are used in middleware"
],
+ "failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
@@ -3418,96 +3454,65 @@
"flakey": [],
"runtimeError": false
},
- "test/development/pages-dir/client-navigation/index.test.ts": {
+ "test/development/pages-dir/client-navigation/anchor-in-link.test.ts": {
"passed": [
- "Client Navigation foreign history manipulation should ignore foreign history state with missing properties",
- "Client Navigation foreign history manipulation should ignore history state with an invalid url",
- "Client Navigation foreign history manipulation should ignore history state without options",
- "Client Navigation resets scroll at the correct time should intentionally not reset scroll before the new page runs its lifecycles (Router#push)",
- "Client Navigation resets scroll at the correct time should reset scroll before the new page runs its lifecycles ()",
- "Client Navigation resets scroll at the correct time should reset scroll before the new page runs its lifecycles (Router#push)",
- "Client Navigation should emit routeChangeError on hash change cancel",
- "Client Navigation should handle boolean async prop in next/script client-side: false",
- "Client Navigation should handle boolean async prop in next/script client-side: true",
- "Client Navigation should handle undefined prop in head client-side",
- "Client Navigation should navigate to paths relative to the current page",
- "Client Navigation should not error on module.exports + polyfills",
- "Client Navigation should not reload when visiting /_error directly",
- "Client Navigation should only execute async and defer scripts with next/script once",
- "Client Navigation should scroll to top when the scroll option is set to true",
- "Client Navigation should work on nested /index/index.js",
- "Client Navigation with 404 pages should 404 on not existent page",
- "Client Navigation with 404 pages should 404 on wrong casing",
- "Client Navigation with 404 pages should 404 on wrong casing of url dynamic param",
- "Client Navigation with 404 pages should get url dynamic param",
- "Client Navigation with 404 pages should not 404 for /",
- "Client Navigation with 404 pages should should not contain a page script in a 404 page",
- "Client Navigation with should call mouse handlers with an absolute url",
- "Client Navigation with should error when calling onClick without event",
- "Client Navigation with should navigate an absolute local url",
- "Client Navigation with should navigate an absolute local url with as",
- "Client Navigation with should navigate an absolute url",
- "Client Navigation with should navigate back after reload",
- "Client Navigation with should navigate forwards after reload",
- "Client Navigation with should navigate the page",
- "Client Navigation with should navigate via the client side",
- "Client Navigation with should not throw error when one number type child is provided",
"Client Navigation with tag inside the should navigate the page",
"Client Navigation with tag inside the should not navigate if the tag has a target",
"Client Navigation with tag inside the should not navigate if the click-event is modified",
"Client Navigation with tag inside the should not reload when link in svg is clicked",
- "Client Navigation with URL objects should handle undefined in router.push",
- "Client Navigation with URL objects should work with \"Router.push\"",
- "Client Navigation with URL objects should work with ",
- "Client Navigation with URL objects should work with the \"replace\" prop",
- "Client Navigation with asPath inside getInitialProps should show the correct asPath with a Link with as prop",
- "Client Navigation with asPath inside getInitialProps should show the correct asPath with a Link without the as prop",
- "Client Navigation with asPath with next/link should detect asPath query changes correctly",
- "Client Navigation with asPath with next/link should use pushState with same href and different asPath",
- "Client Navigation with asPath with next/router should navigate an absolute local url on push",
- "Client Navigation with asPath with next/router should navigate an absolute local url on replace",
- "Client Navigation with asPath with next/router should navigate an absolute url on push",
- "Client Navigation with asPath with next/router should navigate an absolute url on replace",
- "Client Navigation with asPath with next/router should show the correct asPath",
- "Client Navigation with different types of urls should not work with /index page",
- "Client Navigation with different types of urls should work with / page",
- "Client Navigation with different types of urls should work with dir/ page",
- "Client Navigation with different types of urls should work with normal page",
- "Client Navigation with empty getInitialProps() should render a redbox",
- "Client Navigation with getInitialProp redirect should redirect the page via client side",
- "Client Navigation with getInitialProp redirect should redirect the page when loading",
- "Client Navigation with hash changes check hydration mis-match should not have hydration mis-match for hash link",
- "Client Navigation with hash changes when hash change via A tag should not run getInitialProps",
- "Client Navigation with hash changes when hash change via Link Should update asPath",
- "Client Navigation with hash changes when hash change via Link should not run getInitialProps",
- "Client Navigation with hash changes when hash change via Link should not scroll to hash when scroll={false} is set",
- "Client Navigation with hash changes when hash change via Link should scroll to the specified CJK position to a new page",
- "Client Navigation with hash changes when hash change via Link should scroll to the specified position on the same page",
- "Client Navigation with hash changes when hash change via Link should scroll to the specified position on the same page with a name property",
- "Client Navigation with hash changes when hash change via Link should scroll to the specified position to a new page",
- "Client Navigation with hash changes when hash get removed should not run getInitialProps",
- "Client Navigation with hash changes when hash get removed should not run getInitialProps when removing via back",
- "Client Navigation with hash changes when hash set to empty should not run getInitialProps",
- "Client Navigation with hash changes with state when passing state via hash change should increment the history state counter",
- "Client Navigation with hash changes with state when passing state via hash change should increment the shallow history state counter",
- "Client Navigation with onClick action should always replace the state and perform additional action",
- "Client Navigation with onClick action should not reload if default was prevented",
- "Client Navigation with onClick action should reload the page and perform additional action",
- "Client Navigation with querystring relative urls router.replace with shallow=true shall not throw route cancelled errors",
- "Client Navigation with querystring relative urls should work with Link",
- "Client Navigation with querystring relative urls should work with router.push",
- "Client Navigation with querystring relative urls should work with router.replace",
- "Client Navigation with shallow routing should handle the back button and should not run getInitialProps",
- "Client Navigation with shallow routing should keep the scroll position on shallow routing",
- "Client Navigation with shallow routing should run getInitialProps always when rending the page to the screen",
- "Client Navigation with shallow routing should update the url without running getInitialProps",
- "Client Navigation with the HOC based router should navigate as expected",
- "Client Navigation with the current url should always replace the state",
- "Client Navigation with the current url should reload the page",
- "Client Navigation with the same page but different querystring should navigate the page",
- "Client Navigation with the same page but different querystring should remove querystring",
"Client Navigation with unexpected nested tag should not redirect if passHref prop is not defined in Link",
- "Client Navigation with unexpected nested tag should redirect if passHref prop is defined in Link",
+ "Client Navigation with unexpected nested tag should redirect if passHref prop is defined in Link"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/as-path.test.ts": {
+ "passed": [
+ "Client navigation with asPath inside getInitialProps should show the correct asPath with a Link with as prop",
+ "Client navigation with asPath inside getInitialProps should show the correct asPath with a Link without the as prop",
+ "Client navigation with asPath with next/link should detect asPath query changes correctly",
+ "Client navigation with asPath with next/link should use pushState with same href and different asPath",
+ "Client navigation with asPath with next/router should navigate an absolute local url on push",
+ "Client navigation with asPath with next/router should navigate an absolute local url on replace",
+ "Client navigation with asPath with next/router should navigate an absolute url on push",
+ "Client navigation with asPath with next/router should navigate an absolute url on replace",
+ "Client navigation with asPath with next/router should show the correct asPath"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/error-pages.test.ts": {
+ "passed": [
+ "Client navigation on error pages should not reload when visiting /_error directly",
+ "Client navigation on error pages with 404 pages should 404 on not existent page",
+ "Client navigation on error pages with 404 pages should 404 on wrong casing",
+ "Client navigation on error pages with 404 pages should 404 on wrong casing of url dynamic param",
+ "Client navigation on error pages with 404 pages should get url dynamic param",
+ "Client navigation on error pages with 404 pages should not 404 for /",
+ "Client navigation on error pages with 404 pages should should not contain a page script in a 404 page"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/foreign-history-manipulation.test.ts": {
+ "passed": [
+ "Client navigation with foreign history manipulation should ignore foreign history state with missing properties",
+ "Client navigation with foreign history manipulation should ignore history state with an invalid url",
+ "Client navigation with foreign history manipulation should ignore history state without options"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/head.test.ts": {
+ "passed": [
"updating with strictNextHead=false while client routing should handle boolean async prop in next/head client-side: false",
"updating with strictNextHead=false while client routing should handle boolean async prop in next/head client-side: true",
"updating
with strictNextHead=false while client routing should not warn when application/ld+json scripts are in head",
@@ -3527,6 +3532,36 @@
"updating
with strictNextHead=true while client routing should warn when scripts are in head",
"updating
with strictNextHead=true while client routing should warn when stylesheets or scripts are in head"
],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/index.test.ts": {
+ "passed": [
+ "Client Navigation should emit routeChangeError on hash change cancel",
+ "Client Navigation should handle boolean async prop in next/script client-side: false",
+ "Client Navigation should handle boolean async prop in next/script client-side: true",
+ "Client Navigation should handle undefined prop in head client-side",
+ "Client Navigation should navigate to paths relative to the current page",
+ "Client Navigation should not error on module.exports + polyfills",
+ "Client Navigation should only execute async and defer scripts with next/script once",
+ "Client Navigation should work on nested /index/index.js",
+ "Client Navigation with URL objects should handle undefined in router.push",
+ "Client Navigation with URL objects should work with \"Router.push\"",
+ "Client Navigation with URL objects should work with ",
+ "Client Navigation with URL objects should work with the \"replace\" prop",
+ "Client Navigation with different types of urls should not work with /index page",
+ "Client Navigation with different types of urls should work with / page",
+ "Client Navigation with different types of urls should work with dir/ page",
+ "Client Navigation with different types of urls should work with normal page",
+ "Client Navigation with empty getInitialProps() should render a redbox",
+ "Client Navigation with getInitialProp redirect should redirect the page via client side",
+ "Client Navigation with getInitialProp redirect should redirect the page when loading",
+ "Client Navigation with the HOC based router should navigate as expected",
+ "Client Navigation with the current url should always replace the state",
+ "Client Navigation with the current url should reload the page"
+ ],
"failed": [
"Client Navigation runtime errors should show redbox when a client side error is thrown inside a component",
"Client Navigation runtime errors should show redbox when a client side error is thrown outside a component"
@@ -3535,7 +3570,50 @@
"flakey": [],
"runtimeError": false
},
- "test/development/pages-dir/client-navigation/rendering.test.ts": {
+ "test/development/pages-dir/client-navigation/link.test.ts": {
+ "passed": [
+ "Client Navigation with should call mouse handlers with an absolute url",
+ "Client Navigation with should error when calling onClick without event",
+ "Client Navigation with should navigate an absolute local url",
+ "Client Navigation with should navigate an absolute local url with as",
+ "Client Navigation with should navigate an absolute url",
+ "Client Navigation with should navigate back after reload",
+ "Client Navigation with should navigate forwards after reload",
+ "Client Navigation with should navigate the page",
+ "Client Navigation with should navigate via the client side",
+ "Client Navigation with should not throw error when one number type child is provided"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/on-click.test.ts": {
+ "passed": [
+ "Client navigation with onClick action should always replace the state and perform additional action",
+ "Client navigation with onClick action should not reload if default was prevented",
+ "Client navigation with onClick action should reload the page and perform additional action"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/querystring.test.ts": {
+ "passed": [
+ "Client navigation querystring with querystring relative urls router.replace with shallow=true shall not throw route cancelled errors",
+ "Client navigation querystring with querystring relative urls should work with Link",
+ "Client navigation querystring with querystring relative urls should work with router.push",
+ "Client navigation querystring with querystring relative urls should work with router.replace",
+ "Client navigation querystring with the same page but different querystring should navigate the page",
+ "Client navigation querystring with the same page but different querystring should remove querystring"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/rendering-head.test.ts": {
"passed": [
"Client Navigation rendering
with strictNextHead=false header helper avoids dedupe of meta tags with the same name if they use unique keys",
"Client Navigation rendering
with strictNextHead=false header helper avoids dedupe of specific tags",
@@ -3558,7 +3636,15 @@
"Client Navigation rendering
with strictNextHead=true header renders default charset",
"Client Navigation rendering
with strictNextHead=true header renders default viewport",
"Client Navigation rendering
with strictNextHead=true should handle undefined prop in head server-side",
- "Client Navigation rendering
with strictNextHead=true should place charset element at the top of
",
+ "Client Navigation rendering
with strictNextHead=true should place charset element at the top of
"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/rendering.test.ts": {
+ "passed": [
"Client Navigation rendering Rendering via HTTP 404 should 404 on not existent page",
"Client Navigation rendering Rendering via HTTP 404 should 404 on wrong casing",
"Client Navigation rendering Rendering via HTTP 404 should not 404 for /",
@@ -3599,6 +3685,52 @@
"flakey": [],
"runtimeError": false
},
+ "test/development/pages-dir/client-navigation/scroll.test.ts": {
+ "passed": [
+ "Client navigation scroll resets scroll at the correct time should intentionally not reset scroll before the new page runs its lifecycles (Router#push)",
+ "Client navigation scroll resets scroll at the correct time should reset scroll before the new page runs its lifecycles ()",
+ "Client navigation scroll resets scroll at the correct time should reset scroll before the new page runs its lifecycles (Router#push)",
+ "Client navigation scroll should scroll to top when the scroll option is set to true"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/shallow-routing.test.ts": {
+ "passed": [
+ "Client navigation with shallow routing should handle the back button and should not run getInitialProps",
+ "Client navigation with shallow routing should keep the scroll position on shallow routing",
+ "Client navigation with shallow routing should run getInitialProps always when rending the page to the screen",
+ "Client navigation with shallow routing should update the url without running getInitialProps"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/development/pages-dir/client-navigation/url-hash.test.ts": {
+ "passed": [
+ "Client navigation with URL hash when hash changes check hydration mis-match should not have hydration mis-match for hash link",
+ "Client navigation with URL hash when hash changes when hash change via A tag should not run getInitialProps",
+ "Client navigation with URL hash when hash changes when hash change via Link Should update asPath",
+ "Client navigation with URL hash when hash changes when hash change via Link should not run getInitialProps",
+ "Client navigation with URL hash when hash changes when hash change via Link should not scroll to hash when scroll={false} is set",
+ "Client navigation with URL hash when hash changes when hash change via Link should scroll to the specified CJK position to a new page",
+ "Client navigation with URL hash when hash changes when hash change via Link should scroll to the specified position on the same page",
+ "Client navigation with URL hash when hash changes when hash change via Link should scroll to the specified position on the same page with a name property",
+ "Client navigation with URL hash when hash changes when hash change via Link should scroll to the specified position to a new page",
+ "Client navigation with URL hash when hash changes when hash get removed should not run getInitialProps",
+ "Client navigation with URL hash when hash changes when hash get removed should not run getInitialProps when removing via back",
+ "Client navigation with URL hash when hash changes when hash set to empty should not run getInitialProps",
+ "Client navigation with URL hash when hash changes with state when passing state via hash change should increment the history state counter",
+ "Client navigation with URL hash when hash changes with state when passing state via hash change should increment the shallow history state counter"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/development/pages-dir/custom-app-hmr/index.test.ts": {
"passed": [
"custom-app-hmr should not do full reload when simply editing _app.js"
@@ -3786,6 +3918,18 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/actions/app-action-form-state-node-middleware.test.ts": {
+ "passed": [
+ "app-dir action useActionState should send the action to the provided permalink with form state when JS disabled",
+ "app-dir action useActionState should support hydrating the app from progressively enhanced form request",
+ "app-dir action useActionState should support submitting form state with JS",
+ "app-dir action useActionState should support submitting form state without JS"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/actions/app-action-form-state.test.ts": {
"passed": [
"app-dir action useActionState should send the action to the provided permalink with form state when JS disabled",
@@ -3798,6 +3942,99 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/actions/app-action-node-middleware.test.ts": {
+ "passed": [
+ "app-dir action handling \"use server\" export values should error when exporting non async functions at build time",
+ "app-dir action handling Edge SSR should allow cookie and header async storages",
+ "app-dir action handling Edge SSR should handle basic actions correctly",
+ "app-dir action handling Edge SSR should handle calls to redirect() with a absolute URL in a single pass",
+ "app-dir action handling Edge SSR should handle calls to redirect() with a relative URL in a single pass",
+ "app-dir action handling Edge SSR should handle calls to redirect() with external URLs",
+ "app-dir action handling Edge SSR should handle unicode search params",
+ "app-dir action handling Edge SSR should return error response for hoc auth wrappers in edge runtime",
+ "app-dir action handling HMR should support updating the action",
+ "app-dir action handling caching disabled by default should not override force-cache in server action",
+ "app-dir action handling caching disabled by default should not override revalidate in server action",
+ "app-dir action handling caching disabled by default should use no-store as default for server action",
+ "app-dir action handling encryption should be able to resolve other server actions and client components",
+ "app-dir action handling encryption should send encrypted values from the closed over closure",
+ "app-dir action handling fetch actions should handle a fetch action initiated from a static page",
+ "app-dir action handling fetch actions should handle calls to redirect() with a absolute URL in a single pass",
+ "app-dir action handling fetch actions should handle calls to redirect() with a relative URL in a single pass",
+ "app-dir action handling fetch actions should handle calls to redirect() with external URLs",
+ "app-dir action handling fetch actions should handle redirects to routes that provide an invalid RSC response",
+ "app-dir action handling fetch actions should handle unstable_expirePath",
+ "app-dir action handling fetch actions should handle unstable_expireTag",
+ "app-dir action handling fetch actions should invalidate client cache on other routes when cookies.set is called",
+ "app-dir action handling fetch actions should invalidate client cache when path is revalidated",
+ "app-dir action handling fetch actions should invalidate client cache when tag is revalidated",
+ "app-dir action handling fetch actions should revalidate when cookies.set is called",
+ "app-dir action handling fetch actions should revalidate when cookies.set is called in a client action",
+ "app-dir action handling fetch actions should store revalidation data in the prefetch cache",
+ "app-dir action handling redirects displays searchParams correctly when redirecting with SearchParams",
+ "app-dir action handling redirects merges cookies correctly when redirecting",
+ "app-dir action handling redirects redirects properly when server action handler redirects with a 307 status code",
+ "app-dir action handling redirects redirects properly when server action handler redirects with a 308 status code",
+ "app-dir action handling redirects redirects properly when server action handler uses `permanentRedirect`",
+ "app-dir action handling redirects redirects properly when server action handler uses `redirect`",
+ "app-dir action handling redirects should not forward next-action header to a redirected RSC request",
+ "app-dir action handling request body decoding should correctly decode multi-byte characters in the request body (edge)",
+ "app-dir action handling request body decoding should correctly decode multi-byte characters in the request body (node)",
+ "app-dir action handling server actions render client components server component imported action should support importing client components from actions",
+ "app-dir action handling should 404 when POSTing an invalid server action",
+ "app-dir action handling should be possible to catch network errors",
+ "app-dir action handling should be possible to catch regular errors",
+ "app-dir action handling should bundle external libraries if they are on the action layer",
+ "app-dir action handling should handle action correctly with middleware rewrite",
+ "app-dir action handling should handle actions executed in quick succession",
+ "app-dir action handling should handle basic actions correctly",
+ "app-dir action handling should invalidate the client router cache if the redirect action triggers a revalidation",
+ "app-dir action handling should keep action instances identical",
+ "app-dir action handling should log a warning when a server action is not found but an id is provided",
+ "app-dir action handling should not block navigation events while a server action is in flight",
+ "app-dir action handling should not block router.back() while a server action is in flight",
+ "app-dir action handling should not error when a forwarded action triggers a redirect (edge)",
+ "app-dir action handling should not error when a forwarded action triggers a redirect (node)",
+ "app-dir action handling should not log errors for non-action form POSTs",
+ "app-dir action handling should only submit action once when resubmitting an action after navigation",
+ "app-dir action handling should propagate errors from a `text/plain` response to an error boundary",
+ "app-dir action handling should push new route when redirecting",
+ "app-dir action handling should replace current route when redirecting with type set to replace",
+ "app-dir action handling should report errors with bad inputs correctly",
+ "app-dir action handling should reset the form state when the action redirects to a page that contains the same form",
+ "app-dir action handling should reset the form state when the action redirects to itself",
+ "app-dir action handling should support .bind",
+ "app-dir action handling should support chained .bind",
+ "app-dir action handling should support formData and redirect",
+ "app-dir action handling should support headers and cookies",
+ "app-dir action handling should support headers in client imported actions",
+ "app-dir action handling should support hoc auth wrappers",
+ "app-dir action handling should support importing actions in client components",
+ "app-dir action handling should support importing the same action module instance in both server and action layers",
+ "app-dir action handling should support next/dynamic with ssr: false",
+ "app-dir action handling should support next/dynamic with ssr: false (edge)",
+ "app-dir action handling should support notFound",
+ "app-dir action handling should support notFound (javascript disabled)",
+ "app-dir action handling should support setting cookies in route handlers with the correct overrides",
+ "app-dir action handling should support setting cookies when redirecting (no javascript)",
+ "app-dir action handling should support setting cookies when redirecting (with javascript)",
+ "app-dir action handling should support uploading files",
+ "app-dir action handling should trigger a refresh for a server action that also dispatches a navigation event",
+ "app-dir action handling should trigger a refresh for a server action that gets discarded due to a navigation",
+ "app-dir action handling should trigger an error boundary for action responses with an invalid content-type",
+ "app-dir action handling should work with interception routes"
+ ],
+ "failed": [
+ "app-dir action handling should forward action request to a worker that contains the action handler (edge)",
+ "app-dir action handling should forward action request to a worker that contains the action handler (node)"
+ ],
+ "pending": [
+ "app-dir action handling fetch actions should handle unstable_expireTag + redirect",
+ "app-dir action handling server actions render client components client component imported action should support importing client components from actions"
+ ],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/actions/app-action-progressive-enhancement.test.ts": {
"passed": [
"app-dir action progressive enhancement should support actions from client without JS",
@@ -3810,9 +4047,26 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/actions/app-action-size-limit-invalid-node-middleware.test.ts": {
+ "passed": [
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for multipart fetch actions should error for requests that exceed the size limit",
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for multipart fetch actions should not error for requests that are at the size limit",
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for multipart fetch actions should not error for requests that stay below the size limit",
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for plaintext fetch actions should error for requests that exceed the size limit",
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for plaintext fetch actions should not error for requests that stay below the size limit"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts": {
"passed": [
- "app-dir action size limit invalid config skip test for development mode"
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for multipart fetch actions should error for requests that exceed the size limit",
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for multipart fetch actions should not error for requests that are at the size limit",
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for multipart fetch actions should not error for requests that stay below the size limit",
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for plaintext fetch actions should error for requests that exceed the size limit",
+ "app-dir action size limit invalid config should respect the size set in serverActions.bodySizeLimit for plaintext fetch actions should not error for requests that stay below the size limit"
],
"failed": [],
"pending": [],
@@ -3827,6 +4081,7 @@
"app-dir action handling Edge SSR should handle calls to redirect() with a absolute URL in a single pass",
"app-dir action handling Edge SSR should handle calls to redirect() with a relative URL in a single pass",
"app-dir action handling Edge SSR should handle calls to redirect() with external URLs",
+ "app-dir action handling Edge SSR should handle unicode search params",
"app-dir action handling Edge SSR should return error response for hoc auth wrappers in edge runtime",
"app-dir action handling HMR should support updating the action",
"app-dir action handling caching disabled by default should not override force-cache in server action",
@@ -3902,9 +4157,7 @@
"app-dir action handling should trigger an error boundary for action responses with an invalid content-type",
"app-dir action handling should work with interception routes"
],
- "failed": [
- "app-dir action handling Edge SSR should handle unicode search params"
- ],
+ "failed": [],
"pending": [
"app-dir action handling fetch actions should handle unstable_expireTag + redirect",
"app-dir action handling server actions render client components client component imported action should support importing client components from actions"
@@ -4139,6 +4392,13 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/app-esm-js/standalone.test.ts": {
+ "passed": ["should skip for non-next start"],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/app-external/app-external.test.ts": {
"passed": [
"app dir - external dependency app route should resolve next/server api from external esm package",
@@ -4762,6 +5022,8 @@
"app dir - basic next/script should insert preload tags for beforeInteractive and afterInteractive scripts",
"app dir - basic next/script should load stylesheets for next/scripts",
"app dir - basic next/script should pass `nonce`",
+ "app dir - basic next/script should pass manual `nonce`",
+ "app dir - basic next/script should pass manual `nonce` pages",
"app dir - basic next/script should pass nonce when using next/font",
"app dir - basic next/script should pass on extra props for beforeInteractive scripts with a src prop",
"app dir - basic next/script should pass on extra props for beforeInteractive scripts without a src prop",
@@ -4776,7 +5038,6 @@
"app dir - basic searchParams prop server component should have the correct search params on middleware rewrite",
"app dir - basic searchParams prop server component should have the correct search params on rewrite",
"app dir - basic server components Loading should render loading.js in browser for slow layout",
- "app dir - basic server components Loading should render loading.js in browser for slow layout and page",
"app dir - basic server components Loading should render loading.js in browser for slow page",
"app dir - basic server components Loading should render loading.js in initial html for slow layout",
"app dir - basic server components Loading should render loading.js in initial html for slow layout and page",
@@ -4824,6 +5085,7 @@
"app dir - basic should serve from public",
"app dir - basic should serve nested parent",
"app dir - basic should serve page as a segment name correctly",
+ "app dir - basic should serve polyfills for browsers that do not support modules",
"app dir - basic should use new root layout when provided",
"app dir - basic should use text/x-component for flight",
"app dir - basic should use text/x-component for flight with edge runtime",
@@ -4832,7 +5094,7 @@
],
"failed": [
"app dir - basic should navigate to pages dynamic route from pages page if it overlaps with an app page",
- "app dir - basic should serve polyfills for browsers that do not support modules"
+ "app dir - basic server components Loading should render loading.js in browser for slow layout and page"
],
"pending": [
"app dir - basic HMR should HMR correctly when changing the component type",
@@ -5044,6 +5306,18 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/css-modules-data-urls/css-modules-data-urls.test.ts": {
+ "passed": [],
+ "failed": [],
+ "pending": [
+ "css-modules-data-urls should apply client class name from data url correctly",
+ "css-modules-data-urls should apply client styles from data url correctly",
+ "css-modules-data-urls should apply rsc class name from data url correctly",
+ "css-modules-data-urls should apply rsc styles from data url correctly"
+ ],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/css-modules-pure-no-check/css-modules-pure-no-check.test.ts": {
"passed": ["css-modules-pure-no-check should apply styles correctly"],
"failed": [],
@@ -5363,24 +5637,25 @@
},
"test/e2e/app-dir/dynamic-data/dynamic-data.test.ts": {
"passed": [
- "dynamic-data inside cache scope displays redbox when accessing dynamic data inside a cache scope",
"dynamic-data should render empty objects for dynamic APIs when rendering with force-static",
"dynamic-data should render the dynamic apis dynamically when used in a top-level scope",
"dynamic-data should render the dynamic apis dynamically when used in a top-level scope with force dynamic",
- "dynamic-data should track searchParams access as dynamic when the Page is a client component",
+ "dynamic-data should track searchParams access as dynamic when the Page is a client component"
+ ],
+ "failed": [
+ "dynamic-data inside cache scope displays redbox when accessing dynamic data inside a cache scope",
"dynamic-data with dynamic = \"error\" displays redbox when `dynamic = \"error\"` and dynamic data is read in dev"
],
- "failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/e2e/app-dir/dynamic-href/dynamic-href.test.ts": {
- "passed": [
+ "passed": [],
+ "failed": [
"dynamic-href should error when using dynamic href in app dir",
"dynamic-href should error when using dynamic href.pathname in app dir"
],
- "failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
@@ -5414,6 +5689,28 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/dynamic-io-dynamic-imports/dynamic-io-dynamic-imports.test.ts": {
+ "passed": [
+ "async imports in dynamicIO - external packages does not instrument import() in external packages",
+ "async imports in dynamicIO inside a GET route handler import of a sync module",
+ "async imports in dynamicIO inside a GET route handler import of module with top-level-await",
+ "async imports in dynamicIO inside a client component import of a sync module",
+ "async imports in dynamicIO inside a client component import of module with top-level-await",
+ "async imports in dynamicIO inside a server component dynamic import in node_modules in a CJS package import of a sync module",
+ "async imports in dynamicIO inside a server component dynamic import in node_modules in an ESM package import of a sync module",
+ "async imports in dynamicIO inside a server component dynamic import in node_modules in an ESM package import of module with top-level-await",
+ "async imports in dynamicIO inside a server component import of a sync module",
+ "async imports in dynamicIO inside a server component import of module with top-level-await",
+ "async imports in dynamicIO outside of render client import of a sync module",
+ "async imports in dynamicIO outside of render client import of module with top-level-await",
+ "async imports in dynamicIO outside of render server import of a sync module",
+ "async imports in dynamicIO outside of render server import of module with top-level-await"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/dynamic-io-errors/dynamic-io-errors.module-scope.test.ts": {
"passed": ["Lazy Module Init does not run in dev"],
"failed": [],
@@ -5476,6 +5773,7 @@
"passed": [
"Dynamic IO Errors - With Minification Dynamic Boundary does not run in dev",
"Dynamic IO Errors - With Minification Dynamic Metadata - Dynamic Route does not run in dev",
+ "Dynamic IO Errors - With Minification Dynamic Metadata - Error Route does not run in dev",
"Dynamic IO Errors - With Minification Dynamic Metadata - Static Route With Suspense does not run in dev",
"Dynamic IO Errors - With Minification Dynamic Metadata - Static Route does not run in dev",
"Dynamic IO Errors - With Minification Dynamic Root does not run in dev",
@@ -5484,6 +5782,7 @@
"Dynamic IO Errors - With Minification Static Route does not run in dev",
"Dynamic IO Errors - Without Minification Dynamic Boundary does not run in dev",
"Dynamic IO Errors - Without Minification Dynamic Metadata - Dynamic Route does not run in dev",
+ "Dynamic IO Errors - Without Minification Dynamic Metadata - Error Route does not run in dev",
"Dynamic IO Errors - Without Minification Dynamic Metadata - Static Route With Suspense does not run in dev",
"Dynamic IO Errors - Without Minification Dynamic Metadata - Static Route does not run in dev",
"Dynamic IO Errors - Without Minification Dynamic Root does not run in dev",
@@ -5818,9 +6117,18 @@
"flakey": [],
"runtimeError": false
},
- "test/e2e/app-dir/emotion-js/index.test.ts": {
+ "test/e2e/app-dir/emotion-js/index.test.ts": {
+ "passed": [
+ "app dir - emotion-js should render emotion-js css with compiler.emotion option correctly"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/app-dir/empty-fallback-shells/empty-fallback-shells.test.ts": {
"passed": [
- "app dir - emotion-js should render emotion-js css with compiler.emotion option correctly"
+ "empty-fallback-shells should start and not postpone the response"
],
"failed": [],
"pending": [],
@@ -5865,16 +6173,17 @@
"runtimeError": false
},
"test/e2e/app-dir/error-on-next-codemod-comment/error-on-next-codemod-comment.test.ts": {
- "passed": [],
- "failed": [
+ "passed": [
"app-dir - error-on-next-codemod-comment should disappear the error when you replace with bypass comment",
"app-dir - error-on-next-codemod-comment should disappear the error when you rre the codemod comment",
- "app-dir - error-on-next-codemod-comment should error with inline comment as well",
+ "app-dir - error-on-next-codemod-comment should error with inline comment as well"
+ ],
+ "failed": [
"app-dir - error-on-next-codemod-comment should error with swc if you have codemod comments left"
],
"pending": [],
"flakey": [],
- "runtimeError": true
+ "runtimeError": false
},
"test/e2e/app-dir/errors/index.test.ts": {
"passed": [
@@ -5951,14 +6260,15 @@
},
"test/e2e/app-dir/global-error/basic/index.test.ts": {
"passed": [
- "app dir - global-error should catch metadata error in error boundary if presented",
+ "app dir - global-error should catch metadata error in error boundary if presented"
+ ],
+ "failed": [
"app dir - global-error should catch metadata error in global-error if no error boundary is presented",
"app dir - global-error should catch the client error thrown in the nested routes",
"app dir - global-error should render global error for error in client components during SSR",
"app dir - global-error should render global error for error in server components",
"app dir - global-error should trigger error component when an error happens during rendering"
],
- "failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
@@ -5985,10 +6295,10 @@
"runtimeError": false
},
"test/e2e/app-dir/global-error/layout-error/index.test.ts": {
- "passed": [
+ "passed": [],
+ "failed": [
"app dir - global error - layout error should render global error for error in server components"
],
- "failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
@@ -6002,6 +6312,56 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/global-not-found/basic/global-not-found-basic.test.ts": {
+ "passed": [
+ "global-not-found - basic should render global-not-found for 404",
+ "global-not-found - basic should render not-found boundary when calling notFound() in a page",
+ "global-not-found - basic should ssr global-not-found for 404"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/app-dir/global-not-found/both-present/both-present.test.ts": {
+ "passed": [
+ "global-not-found - both-present should render global-not-found for 404 routes",
+ "global-not-found - both-present should render not-found boundary when calling notFound() in a page"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/app-dir/global-not-found/metadata/metadata.test.ts": {
+ "passed": [
+ "global-not-found - metadata should render metadata of global-not-found for 404"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/app-dir/global-not-found/no-root-layout/no-root-layout.test.ts": {
+ "passed": [
+ "global-not-found - no-root-layout should render global-not-found for 404",
+ "global-not-found - no-root-layout should ssr global-not-found for 404"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/app-dir/global-not-found/not-present/not-present.test.ts": {
+ "passed": [
+ "global-not-found - not-present should render custom not-found.js boundary when global-not-found is not defined but enabled",
+ "global-not-found - not-present should render default 404 when global-not-found is not defined but enabled"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/graceful-shutdown-next-after/custom-server/index.test.ts": {
"passed": [
"after during server shutdown - custom server waits for after callbacks when the server receives SIGINT",
@@ -6102,6 +6462,13 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/instrumentation-order/instrumentation-order.test.ts": {
+ "passed": ["instrumentation-order should work using cheerio"],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/interception-dynamic-segment-middleware/interception-dynamic-segment-middleware.test.ts": {
"passed": [
"interception-dynamic-segment-middleware should work when interception route is paired with a dynamic segment & middleware"
@@ -6275,14 +6642,14 @@
"app-dir - logging with verbose logging for edge runtime should not log _rsc query for client navigation RSC request",
"app-dir - logging with verbose logging for edge runtime should only log requests in development mode",
"app-dir - logging with verbose logging for edge runtime should respect request.init.cache when use with fetch input is instance",
- "app-dir - logging with verbose logging for edge runtime should show cache reason of noStore when use with fetch",
- "app-dir - logging with verbose logging for edge runtime when logging.fetches.hmrRefreshes is true should log requests for HMR refreshes"
+ "app-dir - logging with verbose logging for edge runtime should show cache reason of noStore when use with fetch"
],
"failed": [
"app-dir - logging with default logging should not contain metadata internal segments for dynamic metadata routes",
"app-dir - logging with fetches default logging should not contain metadata internal segments for dynamic metadata routes",
"app-dir - logging with fetches verbose logging should not contain metadata internal segments for dynamic metadata routes",
- "app-dir - logging with verbose logging for edge runtime should not contain metadata internal segments for dynamic metadata routes"
+ "app-dir - logging with verbose logging for edge runtime should not contain metadata internal segments for dynamic metadata routes",
+ "app-dir - logging with verbose logging for edge runtime when logging.fetches.hmrRefreshes is true should log requests for HMR refreshes"
],
"pending": [],
"flakey": [],
@@ -6453,6 +6820,7 @@
},
"test/e2e/app-dir/metadata-streaming-parallel-routes/metadata-streaming-parallel-routes.test.ts": {
"passed": [
+ "app-dir - metadata-streaming should change metadata when navigating between two pages under a slot when children is not rendered",
"app-dir - metadata-streaming should only insert metadata once for parallel routes when slots match",
"app-dir - metadata-streaming should only insert metadata once for parallel routes when there is a missing slot",
"app-dir - metadata-streaming should still render metadata if children is not rendered in parallel routes layout"
@@ -6522,6 +6890,13 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/metadata-svg-icon/metadata-svg-icon.test.ts": {
+ "passed": ["metadata-svg-icon should have sizes=any for .svg icon"],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/metadata-thrown/metadata-thrown.test.ts": {
"passed": [
"app dir - metadata thrown should not crash from error thrown during preloading nested generateMetadata"
@@ -7009,58 +7384,6 @@
"flakey": [],
"runtimeError": false
},
- "test/e2e/app-dir/next-form/basepath/next-form-basepath.test.ts": {
- "passed": [
- "app dir - form - with basepath should add basePath to `action`",
- "app dir - form - with basepath should not add basePath to a submitter's formAction"
- ],
- "failed": [],
- "pending": [],
- "flakey": [],
- "runtimeError": false
- },
- "test/e2e/app-dir/next-form/default/next-form-prefetch.test.ts": {
- "passed": [],
- "failed": [],
- "pending": [
- "app dir - form prefetching should not prefetch when prefetch is set to false`",
- "app dir - form prefetching should prefetch a loading state for the form's target"
- ],
- "flakey": [],
- "runtimeError": false
- },
- "test/e2e/app-dir/next-form/default/next-form.test.ts": {
- "passed": [
- "app dir - form does not navigate if preventDefault is called in onSubmit",
- "app dir - form does not push a new history entry if `replace` is passed",
- "app dir - form functions passed to action runs client action",
- "app dir - form functions passed to action runs server action",
- "app dir - form functions passed to action runs server action (closure)",
- "app dir - form functions passed to formAction runs client action from submitter and doesn't warn about unsupported attributes",
- "app dir - form functions passed to formAction runs server action (closure) from submitter and doesn't warn about unsupported attributes",
- "app dir - form functions passed to formAction runs server action from submitter and doesn't warn about unsupported attributes",
- "app dir - form should soft-navigate on submit and show the prefetched loading state",
- "app dir - form should soft-navigate to the formAction url of the submitter",
- "app dir - form unsupported attributes on submitter should warn if submitter sets \"formEncType\" to an unsupported value and fall back to default submit behavior",
- "app dir - form unsupported attributes on submitter should warn if submitter sets \"formMethod\" to an unsupported value and fall back to default submit behavior",
- "app dir - form unsupported attributes on submitter should warn if submitter sets \"formTarget\" to an unsupported value and fall back to default submit behavior",
- "app dir - form url-encodes file inputs, but warns about them",
- "pages dir - form does not navigate if preventDefault is called in onSubmit",
- "pages dir - form does not push a new history entry if `replace` is passed",
- "pages dir - form functions passed to action runs client action",
- "pages dir - form functions passed to formAction runs client action from submitter and doesn't warn about unsupported attributes",
- "pages dir - form should soft-navigate on submit",
- "pages dir - form should soft-navigate to the formAction url of the submitter",
- "pages dir - form unsupported attributes on submitter should warn if submitter sets \"formEncType\" to an unsupported value and fall back to default submit behavior",
- "pages dir - form unsupported attributes on submitter should warn if submitter sets \"formMethod\" to an unsupported value and fall back to default submit behavior",
- "pages dir - form unsupported attributes on submitter should warn if submitter sets \"formTarget\" to an unsupported value and fall back to default submit behavior",
- "pages dir - form url-encodes file inputs, but warns about them"
- ],
- "failed": [],
- "pending": [],
- "flakey": [],
- "runtimeError": false
- },
"test/e2e/app-dir/next-image/next-image-https.test.ts": {
"passed": [
"app dir - next-image (with https) only runs on CI as it requires administrator privileges"
@@ -7849,6 +8172,15 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/require-context/require-context.test.ts": {
+ "passed": [
+ "require-context should get correct require context when using regex filtering"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/resolve-extensions/resolve-extensions.test.ts": {
"passed": [
"turbo-resolve-extensions should SSR",
@@ -7953,7 +8285,9 @@
"redirects and rewrites navigation using link should redirect from next.config.js correctly with empty query params",
"redirects and rewrites navigation using link should redirect using catchall from next.config.js correctly",
"redirects and rewrites navigation using link should rewrite from middleware correctly",
- "redirects and rewrites navigation using link should rewrite from next.config.js correctly"
+ "redirects and rewrites navigation using link should rewrite from next.config.js correctly",
+ "redirects and rewrites redirects to exotic url schemes preserving slashes",
+ "redirects and rewrites redirects to exotic url schemes without adding unwanted slashes"
],
"failed": [],
"pending": [],
@@ -8054,6 +8388,7 @@
"app dir - rsc basics client references with TLA (node) should support TLA in sync client reference imports",
"app dir - rsc basics next internal shared context should not error if just load next/navigation module in pages/api",
"app dir - rsc basics next internal shared context should not error if just load next/router module in app page",
+ "app dir - rsc basics should be able to call legacy react-dom/server APIs in client components",
"app dir - rsc basics should be able to navigate between rsc routes",
"app dir - rsc basics should correctly render component returning null",
"app dir - rsc basics should correctly render component returning undefined",
@@ -8086,9 +8421,7 @@
"app dir - rsc basics should track client components in dynamic imports",
"app dir - rsc basics should use canary react for app"
],
- "failed": [
- "app dir - rsc basics should be able to call legacy react-dom/server APIs in client components"
- ],
+ "failed": [],
"pending": [
"app dir - rsc basics should support partial hydration with inlined server data in browser"
],
@@ -8576,6 +8909,13 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/segment-cache/conflicting-routes/conflicting-routes.test.ts": {
+ "passed": ["conflicting routes prefetching is disabled"],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/segment-cache/dynamic-on-hover/dynamic-on-hover.test.ts": {
"passed": ["dynamic on hover prefetching is disabled"],
"failed": [],
@@ -8615,6 +8955,13 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/app-dir/segment-cache/prefetch-auto/prefetch-auto.test.ts": {
+ "passed": [" disabled in development / deployment"],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/app-dir/segment-cache/prefetch-scheduling/prefetch-scheduling.test.ts": {
"passed": ["segment cache prefetch scheduling prefetching is disabled"],
"failed": [],
@@ -8869,13 +9216,6 @@
"flakey": [],
"runtimeError": false
},
- "test/e2e/app-dir/turbopack-loader-resource-query/turbopack-loader-resource-query.test.ts": {
- "passed": [],
- "failed": [],
- "pending": ["turbopack-loader-resource-query should pass query to loader"],
- "flakey": [],
- "runtimeError": false
- },
"test/e2e/app-dir/turbopack-reports/turbopack-reports.test.ts": {
"passed": ["turbopack-reports should render page importing sqlite3"],
"failed": [],
@@ -8980,7 +9320,8 @@
"use-cache-hanging-inputs when a \"use cache\" function is closing over an uncached promise should show an error toast after a timeout",
"use-cache-hanging-inputs when an uncached promise is used inside of \"use cache\" should show an error toast after a timeout",
"use-cache-hanging-inputs when an uncached promise is used inside of a nested \"use cache\" should show an error toast after a timeout",
- "use-cache-hanging-inputs when searchParams are used inside of \"use cache\" should show an error toast after a timeout"
+ "use-cache-hanging-inputs when searchParams are used inside of \"use cache\" should show an error toast after a timeout",
+ "use-cache-hanging-inputs when searchParams are used inside of \"use cache\", wrapped in try/catch should show an error toast after a timeout"
],
"pending": [],
"flakey": [],
@@ -9023,7 +9364,7 @@
"failed": [],
"pending": [],
"flakey": [],
- "runtimeError": false
+ "runtimeError": true
},
"test/e2e/app-dir/use-cache-standalone-search-params/use-cache-standalone-search-params.test.ts": {
"passed": [
@@ -9049,10 +9390,11 @@
"runtimeError": false
},
"test/e2e/app-dir/use-cache-without-experimental-flag/use-cache-without-experimental-flag.test.ts": {
- "passed": [
- "use-cache-without-experimental-flag should recover from the build error if useCache flag is set"
+ "passed": [],
+ "failed": [
+ "use-cache-without-experimental-flag should recover from the build error if useCache flag is set",
+ "use-cache-without-experimental-flag should show a build error"
],
- "failed": ["use-cache-without-experimental-flag should show a build error"],
"pending": [],
"flakey": [],
"runtimeError": false
@@ -9074,7 +9416,8 @@
"use-cache should dedupe with react cache inside \"use cache\"",
"use-cache should error when cookies/headers/draftMode is used inside \"use cache\"",
"use-cache should not have unhandled rejection of Request data promises when use cache is enabled without dynamicIO",
- "use-cache should not read nor write cached data when draft mode is enabled",
+ "use-cache should not read nor write cached data when draft mode is enabled js disabled",
+ "use-cache should not read nor write cached data when draft mode is enabled js enabled",
"use-cache should not use stale caches in server actions that have revalidated",
"use-cache should override fetch with cookies/auth in use cache properly",
"use-cache should override fetch with no-store in use cache properly",
@@ -9085,6 +9428,8 @@
"use-cache should revalidate caches nested in unstable_cache",
"use-cache should update after unstable_expireTag correctly",
"use-cache should use revalidate config in fetch",
+ "use-cache usage in node_modules should cache results when using a directive with a handler",
+ "use-cache usage in node_modules should cache results when using a directive without a handler",
"use-cache works with \"use cache\" in method props",
"use-cache works with \"use cache\" in static class methods",
"use-cache works with useActionState if previousState parameter is not used in \"use cache\" function"
@@ -9143,10 +9488,27 @@
"flakey": [],
"runtimeError": false
},
- "test/e2e/app-dir/webpack-loader-conditions/webpack-loader-conditions.test.ts": {
+ "test/e2e/app-dir/webpack-loader-binary/webpack-loader-binary.test.ts": {
"passed": [
- "webpack-loader-conditions should only run the test in turbopack"
+ "webpack-loader-ts-transform should allow passing binary assets to and from a Webpack loader"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/app-dir/webpack-loader-conditions/webpack-loader-conditions.test.ts": {
+ "passed": [],
+ "failed": [],
+ "pending": [
+ "webpack-loader-conditions should render correctly on client side",
+ "webpack-loader-conditions should render correctly on server site"
],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/app-dir/webpack-loader-resource-query/turbopack-loader-resource-query.test.ts": {
+ "passed": ["webpack-loader-resource-query should pass query to loader"],
"failed": [],
"pending": [],
"flakey": [],
@@ -9431,6 +9793,17 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/config-turbopack/index.test.ts": {
+ "passed": [],
+ "failed": [],
+ "pending": [
+ "config-turbopack when webpack is configured and config.experimental.turbo is set does not warn",
+ "config-turbopack when webpack is configured and config.turbopack is set does not warn",
+ "config-turbopack when webpack is configured but Turbopack is not warns"
+ ],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/conflicting-app-page-error/index.test.ts": {
"passed": [
"Conflict between app file and pages file should error again when there is new conflict",
@@ -9648,10 +10021,10 @@
"runtimeError": false
},
"test/e2e/fetch-failures-have-good-stack-traces-in-edge-runtime/fetch-failures-have-good-stack-traces-in-edge-runtime.test.ts": {
- "passed": [
+ "passed": [],
+ "failed": [
"fetch failures have good stack traces in edge runtime when awaiting `fetch` using an unknown domain, stack traces are preserved"
],
- "failed": [],
"pending": [
"fetch failures have good stack traces in edge runtime when returning `fetch` using an unknown domain, stack traces are preserved"
],
@@ -10607,6 +10980,33 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/middleware-static-files/index.test.ts": {
+ "passed": [
+ "Middleware Runtime should match middleware correctly for /another%2ffile.svg",
+ "Middleware Runtime should match middleware correctly for /another%2fhello",
+ "Middleware Runtime should match middleware correctly for /another/file.svg",
+ "Middleware Runtime should match middleware correctly for /another/hello",
+ "Middleware Runtime should match middleware correctly for /dynamic%2f/first",
+ "Middleware Runtime should match middleware correctly for /dynamic/first",
+ "Middleware Runtime should match middleware correctly for /file.svg",
+ "Middleware Runtime should match middleware correctly for /glob%2ffile.svg",
+ "Middleware Runtime should match middleware correctly for /glob%2fhello",
+ "Middleware Runtime should match middleware correctly for /glob/file.svg",
+ "Middleware Runtime should match middleware correctly for /glob/hello",
+ "Middleware Runtime should match middleware correctly for /pages-another%2fhello",
+ "Middleware Runtime should match middleware correctly for /pages-another/hello",
+ "Middleware Runtime should match middleware correctly for /pages-dynamic%2f/first",
+ "Middleware Runtime should match middleware correctly for /pages-dynamic/first",
+ "Middleware Runtime should match middleware correctly for /pages-glob%2fhello",
+ "Middleware Runtime should match middleware correctly for /pages-glob/hello",
+ "Middleware Runtime should match middleware correctly for /vercel copy.svg",
+ "Middleware Runtime should match middleware correctly for /vercel%20copy.svg"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/middleware-trailing-slash/test/index.test.ts": {
"passed": [
"Middleware Runtime trailing slash allows shallow linking with middleware",
@@ -10811,6 +11211,66 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/next-form/basepath/next-form-basepath.test.ts": {
+ "passed": [
+ "app dir - form - with basepath should add basePath to `action`",
+ "app dir - form - with basepath should not add basePath to a submitter's formAction"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/next-form/default/app-dir.test.ts": {
+ "passed": [
+ "next-form - app dir does not navigate if preventDefault is called in onSubmit",
+ "next-form - app dir does not push a new history entry if `replace` is passed",
+ "next-form - app dir functions passed to action runs client action",
+ "next-form - app dir functions passed to action runs server action",
+ "next-form - app dir functions passed to action runs server action (closure)",
+ "next-form - app dir functions passed to formAction runs client action from submitter and doesn't warn about unsupported attributes",
+ "next-form - app dir functions passed to formAction runs server action (closure) from submitter and doesn't warn about unsupported attributes",
+ "next-form - app dir functions passed to formAction runs server action from submitter and doesn't warn about unsupported attributes",
+ "next-form - app dir should soft-navigate on submit and show the prefetched loading state",
+ "next-form - app dir should soft-navigate to the formAction url of the submitter",
+ "next-form - app dir unsupported attributes on submitter should warn if submitter sets \"formEncType\" to an unsupported value and fall back to default submit behavior",
+ "next-form - app dir unsupported attributes on submitter should warn if submitter sets \"formMethod\" to an unsupported value and fall back to default submit behavior",
+ "next-form - app dir unsupported attributes on submitter should warn if submitter sets \"formTarget\" to an unsupported value and fall back to default submit behavior",
+ "next-form - app dir url-encodes file inputs, but warns about them"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/next-form/default/next-form-prefetch.test.ts": {
+ "passed": [],
+ "failed": [],
+ "pending": [
+ "app dir - form prefetching should not prefetch when prefetch is set to false`",
+ "app dir - form prefetching should prefetch a loading state for the form's target"
+ ],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/next-form/default/pages-dir.test.ts": {
+ "passed": [
+ "next-form - pages dir does not navigate if preventDefault is called in onSubmit",
+ "next-form - pages dir does not push a new history entry if `replace` is passed",
+ "next-form - pages dir functions passed to action runs client action",
+ "next-form - pages dir functions passed to formAction runs client action from submitter and doesn't warn about unsupported attributes",
+ "next-form - pages dir should soft-navigate on submit",
+ "next-form - pages dir should soft-navigate to the formAction url of the submitter",
+ "next-form - pages dir unsupported attributes on submitter should warn if submitter sets \"formEncType\" to an unsupported value and fall back to default submit behavior",
+ "next-form - pages dir unsupported attributes on submitter should warn if submitter sets \"formMethod\" to an unsupported value and fall back to default submit behavior",
+ "next-form - pages dir unsupported attributes on submitter should warn if submitter sets \"formTarget\" to an unsupported value and fall back to default submit behavior",
+ "next-form - pages dir url-encodes file inputs, but warns about them"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/next-head/index.test.ts": {
"passed": [
"next/head should have correct head tags after hydration",
@@ -10833,10 +11293,21 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/next-image-svgo-webpack/svgo-webpack.test.ts": {
+ "passed": [
+ "svgo-webpack loader should render an SVG that is transformed by @svgr/webpack into a React component (app router)",
+ "svgo-webpack loader should render an SVG that is transformed by @svgr/webpack into a React component (pages router)"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/next-link-errors/next-link-errors.test.ts": {
"passed": [],
"failed": [
"next-link errors on invalid href",
+ "next-link invalid `prefetch` causes runtime error (dev-only)",
"next-link multiple children",
"next-link no children"
],
@@ -11084,7 +11555,11 @@
"runtimeError": false
},
"test/e2e/persistent-caching/persistent-caching.test.ts": {
- "passed": ["persistent-caching should allow to change files while stopped"],
+ "passed": [
+ "persistent-caching should allow to change files while stopped (run 1)",
+ "persistent-caching should allow to change files while stopped (run 2)",
+ "persistent-caching should allow to change files while stopped (run 3)"
+ ],
"failed": ["persistent-caching should persistent cache loaders"],
"pending": [],
"flakey": [],
@@ -11325,7 +11800,7 @@
"flakey": [],
"runtimeError": false
},
- "test/e2e/socket-io/index.test.js": {
+ "test/e2e/socket-io/index.test.ts": {
"passed": [
"socket-io should support socket.io without falling back to polling"
],
@@ -11480,6 +11955,112 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/trailing-slashes/basepath.test.ts": {
+ "passed": [
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs should redirect to /docs/",
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs/about should redirect to /docs/about/",
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs/catch-all/hello.world/ should redirect to /docs/catch-all/hello.world",
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs/catch-all/hello/world should redirect to /docs/catch-all/hello/world/",
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs/linker?href=/ should have href /docs/",
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs/linker?href=/ should navigate to /docs/",
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs/linker?href=/ should push route to /docs/",
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs/linker?href=/about should have href /docs/about/",
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs/linker?href=/about should navigate to /docs/about/",
+ "Trailing slashes in development mode, with basepath, trailingSlash: true /docs/linker?href=/about should push route to /docs/about/"
+ ],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/trailing-slashes/with-trailing-slash.test.ts": {
+ "passed": [
+ "Trailing slashes with trailingSlash: true / should client side render /index.js, with router path /",
+ "Trailing slashes with trailingSlash: true / should resolve to /index.js, with router path /",
+ "Trailing slashes with trailingSlash: true /about should redirect to /about/",
+ "Trailing slashes with trailingSlash: true /about/ should client side render /about.js, with router path /about",
+ "Trailing slashes with trailingSlash: true /about/ should resolve to /about.js, with router path /about",
+ "Trailing slashes with trailingSlash: true /about/?hello=world should client side render /about.js, with router path /about",
+ "Trailing slashes with trailingSlash: true /about/?hello=world should resolve to /about.js, with router path /about",
+ "Trailing slashes with trailingSlash: true /catch-all/hello.world/ should redirect to /catch-all/hello.world",
+ "Trailing slashes with trailingSlash: true /catch-all/hello/world should redirect to /catch-all/hello/world/",
+ "Trailing slashes with trailingSlash: true /catch-all/hello/world/ should client side render /catch-all/[...slug].js, with router path /catch-all/[...slug]",
+ "Trailing slashes with trailingSlash: true /catch-all/hello/world/ should resolve to /catch-all/[...slug].js, with router path /catch-all/[...slug]",
+ "Trailing slashes with trailingSlash: true /external-linker?href=https://nextjs.org should have href https://nextjs.org",
+ "Trailing slashes with trailingSlash: true /external-linker?href=https://nextjs.org/ should have href https://nextjs.org/",
+ "Trailing slashes with trailingSlash: true /linker?href=/ should have href /",
+ "Trailing slashes with trailingSlash: true /linker?href=/ should navigate to /",
+ "Trailing slashes with trailingSlash: true /linker?href=/ should push route to /",
+ "Trailing slashes with trailingSlash: true /linker?href=/about should have href /about/",
+ "Trailing slashes with trailingSlash: true /linker?href=/about should navigate to /about/",
+ "Trailing slashes with trailingSlash: true /linker?href=/about should push route to /about/",
+ "Trailing slashes with trailingSlash: true /linker?href=/about/ should have href /about/",
+ "Trailing slashes with trailingSlash: true /linker?href=/about/ should navigate to /about/",
+ "Trailing slashes with trailingSlash: true /linker?href=/about/ should push route to /about/",
+ "Trailing slashes with trailingSlash: true /linker?href=/about/?hello=world should have href /about/?hello=world",
+ "Trailing slashes with trailingSlash: true /linker?href=/about/?hello=world should navigate to /about/?hello=world",
+ "Trailing slashes with trailingSlash: true /linker?href=/about/?hello=world should push route to /about/?hello=world",
+ "Trailing slashes with trailingSlash: true /linker?href=/about?hello=world should have href /about/?hello=world",
+ "Trailing slashes with trailingSlash: true /linker?href=/about?hello=world should navigate to /about/?hello=world",
+ "Trailing slashes with trailingSlash: true /linker?href=/about?hello=world should push route to /about/?hello=world",
+ "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello.world/ should have href /catch-all/hello.world",
+ "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello.world/ should navigate to /catch-all/hello.world",
+ "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello.world/ should push route to /catch-all/hello.world",
+ "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello/ should have href /catch-all/hello/",
+ "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello/ should navigate to /catch-all/hello/",
+ "Trailing slashes with trailingSlash: true /linker?href=/catch-all/hello/ should push route to /catch-all/hello/"
+ ],
+ "failed": [],
+ "pending": [
+ "Trailing slashes with trailingSlash: true should have a trailing redirect in the routesmanifest"
+ ],
+ "flakey": [],
+ "runtimeError": false
+ },
+ "test/e2e/trailing-slashes/without-trailing-slash.test.ts": {
+ "passed": [
+ "Trailing slashes with trailingSlash: false / should client side render /index.js, with router path /",
+ "Trailing slashes with trailingSlash: false / should resolve to /index.js, with router path /",
+ "Trailing slashes with trailingSlash: false /about should client side render /about.js, with router path /about",
+ "Trailing slashes with trailingSlash: false /about should resolve to /about.js, with router path /about",
+ "Trailing slashes with trailingSlash: false /about/ should redirect to /about",
+ "Trailing slashes with trailingSlash: false /about?hello=world should client side render /about.js, with router path /about",
+ "Trailing slashes with trailingSlash: false /about?hello=world should resolve to /about.js, with router path /about",
+ "Trailing slashes with trailingSlash: false /catch-all/hello.world/ should redirect to /catch-all/hello.world",
+ "Trailing slashes with trailingSlash: false /catch-all/hello/world should client side render /catch-all/[...slug].js, with router path /catch-all/[...slug]",
+ "Trailing slashes with trailingSlash: false /catch-all/hello/world should resolve to /catch-all/[...slug].js, with router path /catch-all/[...slug]",
+ "Trailing slashes with trailingSlash: false /catch-all/hello/world/ should redirect to /catch-all/hello/world",
+ "Trailing slashes with trailingSlash: false /external-linker?href=https://nextjs.org should have href https://nextjs.org",
+ "Trailing slashes with trailingSlash: false /external-linker?href=https://nextjs.org/ should have href https://nextjs.org/",
+ "Trailing slashes with trailingSlash: false /linker?href=/ should have href /",
+ "Trailing slashes with trailingSlash: false /linker?href=/ should navigate to /",
+ "Trailing slashes with trailingSlash: false /linker?href=/ should push route to /",
+ "Trailing slashes with trailingSlash: false /linker?href=/about should have href /about",
+ "Trailing slashes with trailingSlash: false /linker?href=/about should navigate to /about",
+ "Trailing slashes with trailingSlash: false /linker?href=/about should push route to /about",
+ "Trailing slashes with trailingSlash: false /linker?href=/about/ should have href /about",
+ "Trailing slashes with trailingSlash: false /linker?href=/about/ should navigate to /about",
+ "Trailing slashes with trailingSlash: false /linker?href=/about/ should push route to /about",
+ "Trailing slashes with trailingSlash: false /linker?href=/about/?hello=world should have href /about?hello=world",
+ "Trailing slashes with trailingSlash: false /linker?href=/about/?hello=world should navigate to /about?hello=world",
+ "Trailing slashes with trailingSlash: false /linker?href=/about/?hello=world should push route to /about?hello=world",
+ "Trailing slashes with trailingSlash: false /linker?href=/about?hello=world should have href /about?hello=world",
+ "Trailing slashes with trailingSlash: false /linker?href=/about?hello=world should navigate to /about?hello=world",
+ "Trailing slashes with trailingSlash: false /linker?href=/about?hello=world should push route to /about?hello=world",
+ "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello.world/ should have href /catch-all/hello.world",
+ "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello.world/ should navigate to /catch-all/hello.world",
+ "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello.world/ should push route to /catch-all/hello.world",
+ "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello/ should have href /catch-all/hello",
+ "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello/ should navigate to /catch-all/hello",
+ "Trailing slashes with trailingSlash: false /linker?href=/catch-all/hello/ should push route to /catch-all/hello"
+ ],
+ "failed": [],
+ "pending": [
+ "Trailing slashes with trailingSlash: false should have a redirect in the routesmanifest"
+ ],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/trailingslash-with-rewrite/index.test.ts": {
"passed": [
"trailingSlash:true with rewrites and getStaticProps should work"
@@ -11628,6 +12209,13 @@
"flakey": [],
"runtimeError": false
},
+ "test/e2e/worker-react-refresh/worker-react-refresh.test.tsx": {
+ "passed": ["worker-react-refresh does not cause any runtime errors"],
+ "failed": [],
+ "pending": [],
+ "flakey": [],
+ "runtimeError": false
+ },
"test/e2e/yarn-pnp/test/mdx-pages.test.ts": {
"passed": [],
"failed": [
@@ -14196,19 +14784,18 @@
},
"test/integration/edge-runtime-module-errors/test/index.test.js": {
"passed": [
+ "Edge runtime code with imports Edge API dynamically importing node.js module development mode throws unsupported module error in dev at runtime and highlights the faulty line",
+ "Edge runtime code with imports Edge API dynamically importing node.js module in a lib development mode throws unsupported module error in dev at runtime and highlights the faulty line",
"Edge runtime code with imports Edge API importing vanilla 3rd party module does not throw in dev at runtime",
"Edge runtime code with imports Edge API statically importing 3rd party module throws not-found module error in dev at runtime and highlights the faulty line",
"Edge runtime code with imports Edge API using Buffer polyfill does not throw in dev at runtime",
+ "Edge runtime code with imports Middleware dynamically importing node.js module development mode throws unsupported module error in dev at runtime and highlights the faulty line",
+ "Edge runtime code with imports Middleware dynamically importing node.js module in a lib development mode throws unsupported module error in dev at runtime and highlights the faulty line",
"Edge runtime code with imports Middleware importing vanilla 3rd party module does not throw in dev at runtime",
"Edge runtime code with imports Middleware statically importing 3rd party module throws not-found module error in dev at runtime and highlights the faulty line",
"Edge runtime code with imports Middleware using Buffer polyfill does not throw in dev at runtime"
],
- "failed": [
- "Edge runtime code with imports Edge API dynamically importing node.js module development mode throws unsupported module error in dev at runtime and highlights the faulty line",
- "Edge runtime code with imports Edge API dynamically importing node.js module in a lib development mode throws unsupported module error in dev at runtime and highlights the faulty line",
- "Edge runtime code with imports Middleware dynamically importing node.js module development mode throws unsupported module error in dev at runtime and highlights the faulty line",
- "Edge runtime code with imports Middleware dynamically importing node.js module in a lib development mode throws unsupported module error in dev at runtime and highlights the faulty line"
- ],
+ "failed": [],
"pending": [
"Edge runtime code with imports Edge API dynamically importing node.js module in a lib production mode throws unsupported module error in production at runtime and prints error on logs",
"Edge runtime code with imports Edge API dynamically importing node.js module production mode throws unsupported module error in production at runtime and prints error on logs",
@@ -14229,14 +14816,13 @@
"Edge runtime code with imports Edge API dynamically importing 3rd party module throws not-found module error in dev at runtime and highlights the faulty line",
"Edge runtime code with imports Edge API importing unused 3rd party module throws not-found module error in dev at runtime and highlights the faulty line",
"Edge runtime code with imports Edge API importing unused node.js module does not throw in dev at runtime",
+ "Edge runtime code with imports Edge API statically importing node.js module throws unsupported module error in dev at runtime and highlights the faulty line",
"Edge runtime code with imports Middleware dynamically importing 3rd party module throws not-found module error in dev at runtime and highlights the faulty line",
"Edge runtime code with imports Middleware importing unused 3rd party module throws not-found module error in dev at runtime and highlights the faulty line",
- "Edge runtime code with imports Middleware importing unused node.js module does not throw in dev at runtime"
- ],
- "failed": [
- "Edge runtime code with imports Edge API statically importing node.js module throws unsupported module error in dev at runtime and highlights the faulty line",
+ "Edge runtime code with imports Middleware importing unused node.js module does not throw in dev at runtime",
"Edge runtime code with imports Middleware statically importing node.js module throws unsupported module error in dev at runtime and highlights the faulty line"
],
+ "failed": [],
"pending": [
"Edge runtime code with imports Edge API dynamically importing 3rd party module production mode does not build and reports module not found error",
"Edge runtime code with imports Edge API importing unused 3rd party module production mode does not build and reports module not found error",
@@ -14441,10 +15027,10 @@
"runtimeError": false
},
"test/integration/error-plugin-stack-overflow/test/index.test.js": {
- "passed": [],
- "failed": [
+ "passed": [
"Reports stack trace when webpack plugin stack overflows shows details in next build"
],
+ "failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
@@ -18733,16 +19319,6 @@
"flakey": [],
"runtimeError": false
},
- "test/e2e/next-image-svgo-webpack/svgo-webpack.test.ts": {
- "passed": [
- "svgo-webpack loader should render an SVG that is transformed by @svgr/webpack into a React component (pages router)",
- "svgo-webpack loader should render an SVG that is transformed by @svgr/webpack into a React component (app router)"
- ],
- "failed": [],
- "pending": [],
- "flakey": [],
- "runtimeError": false
- },
"test/integration/next-image-legacy/trailing-slash/test/index.test.ts": {
"passed": [
"Image Component Trailing Slash Tests development mode should include trailing slash when trailingSlash is set on config file during next dev"
@@ -19325,17 +19901,6 @@
"flakey": [],
"runtimeError": false
},
- "test/integration/next-image-new/svgo-webpack/test/index.test.ts": {
- "passed": [
- "svgo-webpack with Image Component development mode should print error when invalid Image usage"
- ],
- "failed": [],
- "pending": [
- "svgo-webpack with Image Component production mode should not fail to build invalid usage of the Image component"
- ],
- "flakey": [],
- "runtimeError": false
- },
"test/integration/next-image-new/trailing-slash/test/index.test.ts": {
"passed": [
"Image Component Trailing Slash Tests development mode should include trailing slash when trailingSlash is set on config file during next dev"
@@ -20658,173 +21223,6 @@
"flakey": [],
"runtimeError": false
},
- "test/integration/trailing-slashes/test/index.test.js": {
- "passed": [
- "Trailing slashes development mode, trailingSlash: false / should client side render /index.js, with router path /",
- "Trailing slashes development mode, trailingSlash: false / should resolve to /index.js, with router path /",
- "Trailing slashes development mode, trailingSlash: false /about should client side render /about.js, with router path /about",
- "Trailing slashes development mode, trailingSlash: false /about should resolve to /about.js, with router path /about",
- "Trailing slashes development mode, trailingSlash: false /about/ should redirect to /about",
- "Trailing slashes development mode, trailingSlash: false /about?hello=world should client side render /about.js, with router path /about",
- "Trailing slashes development mode, trailingSlash: false /about?hello=world should resolve to /about.js, with router path /about",
- "Trailing slashes development mode, trailingSlash: false /catch-all/hello.world/ should redirect to /catch-all/hello.world",
- "Trailing slashes development mode, trailingSlash: false /catch-all/hello/world should client side render /catch-all/[...slug].js, with router path /catch-all/[...slug]",
- "Trailing slashes development mode, trailingSlash: false /catch-all/hello/world should resolve to /catch-all/[...slug].js, with router path /catch-all/[...slug]",
- "Trailing slashes development mode, trailingSlash: false /catch-all/hello/world/ should redirect to /catch-all/hello/world",
- "Trailing slashes development mode, trailingSlash: false /external-linker?href=https://nextjs.org should have href https://nextjs.org",
- "Trailing slashes development mode, trailingSlash: false /external-linker?href=https://nextjs.org/ should have href https://nextjs.org/",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/ should have href /",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/ should navigate to /",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/ should push route to /",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about should have href /about",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about should navigate to /about",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about should push route to /about",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about/ should have href /about",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about/ should navigate to /about",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about/ should push route to /about",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about/?hello=world should have href /about?hello=world",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about/?hello=world should navigate to /about?hello=world",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about/?hello=world should push route to /about?hello=world",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about?hello=world should have href /about?hello=world",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about?hello=world should navigate to /about?hello=world",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/about?hello=world should push route to /about?hello=world",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/catch-all/hello.world/ should have href /catch-all/hello.world",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/catch-all/hello.world/ should navigate to /catch-all/hello.world",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/catch-all/hello.world/ should push route to /catch-all/hello.world",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/catch-all/hello/ should have href /catch-all/hello",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/catch-all/hello/ should navigate to /catch-all/hello",
- "Trailing slashes development mode, trailingSlash: false /linker?href=/catch-all/hello/ should push route to /catch-all/hello",
- "Trailing slashes development mode, trailingSlash: true / should client side render /index.js, with router path /",
- "Trailing slashes development mode, trailingSlash: true / should resolve to /index.js, with router path /",
- "Trailing slashes development mode, trailingSlash: true /about should redirect to /about/",
- "Trailing slashes development mode, trailingSlash: true /about/ should client side render /about.js, with router path /about",
- "Trailing slashes development mode, trailingSlash: true /about/ should resolve to /about.js, with router path /about",
- "Trailing slashes development mode, trailingSlash: true /about/?hello=world should client side render /about.js, with router path /about",
- "Trailing slashes development mode, trailingSlash: true /about/?hello=world should resolve to /about.js, with router path /about",
- "Trailing slashes development mode, trailingSlash: true /catch-all/hello.world/ should redirect to /catch-all/hello.world",
- "Trailing slashes development mode, trailingSlash: true /catch-all/hello/world should redirect to /catch-all/hello/world/",
- "Trailing slashes development mode, trailingSlash: true /catch-all/hello/world/ should client side render /catch-all/[...slug].js, with router path /catch-all/[...slug]",
- "Trailing slashes development mode, trailingSlash: true /catch-all/hello/world/ should resolve to /catch-all/[...slug].js, with router path /catch-all/[...slug]",
- "Trailing slashes development mode, trailingSlash: true /external-linker?href=https://nextjs.org should have href https://nextjs.org",
- "Trailing slashes development mode, trailingSlash: true /external-linker?href=https://nextjs.org/ should have href https://nextjs.org/",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/ should have href /",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/ should navigate to /",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/ should push route to /",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about should have href /about/",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about should navigate to /about/",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about should push route to /about/",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about/ should have href /about/",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about/ should navigate to /about/",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about/ should push route to /about/",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about/?hello=world should have href /about/?hello=world",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about/?hello=world should navigate to /about/?hello=world",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about/?hello=world should push route to /about/?hello=world",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about?hello=world should have href /about/?hello=world",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about?hello=world should navigate to /about/?hello=world",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/about?hello=world should push route to /about/?hello=world",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/catch-all/hello.world/ should have href /catch-all/hello.world",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/catch-all/hello.world/ should navigate to /catch-all/hello.world",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/catch-all/hello.world/ should push route to /catch-all/hello.world",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/catch-all/hello/ should have href /catch-all/hello/",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/catch-all/hello/ should navigate to /catch-all/hello/",
- "Trailing slashes development mode, trailingSlash: true /linker?href=/catch-all/hello/ should push route to /catch-all/hello/",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs should redirect to /docs/",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs/about should redirect to /docs/about/",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs/catch-all/hello.world/ should redirect to /docs/catch-all/hello.world",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs/catch-all/hello/world should redirect to /docs/catch-all/hello/world/",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs/linker?href=/ should have href /docs/",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs/linker?href=/ should navigate to /docs/",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs/linker?href=/ should push route to /docs/",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs/linker?href=/about should have href /docs/about/",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs/linker?href=/about should navigate to /docs/about/",
- "Trailing slashes development mode, with basepath, trailingSlash: true /docs/linker?href=/about should push route to /docs/about/"
- ],
- "failed": [],
- "pending": [
- "Trailing slashes production mode, trailingSlash: false / should client side render /index.js, with router path /",
- "Trailing slashes production mode, trailingSlash: false / should resolve to /index.js, with router path /",
- "Trailing slashes production mode, trailingSlash: false /about should client side render /about.js, with router path /about",
- "Trailing slashes production mode, trailingSlash: false /about should resolve to /about.js, with router path /about",
- "Trailing slashes production mode, trailingSlash: false /about/ should redirect to /about",
- "Trailing slashes production mode, trailingSlash: false /about?hello=world should client side render /about.js, with router path /about",
- "Trailing slashes production mode, trailingSlash: false /about?hello=world should resolve to /about.js, with router path /about",
- "Trailing slashes production mode, trailingSlash: false /catch-all/hello.world/ should redirect to /catch-all/hello.world",
- "Trailing slashes production mode, trailingSlash: false /catch-all/hello/world should client side render /catch-all/[...slug].js, with router path /catch-all/[...slug]",
- "Trailing slashes production mode, trailingSlash: false /catch-all/hello/world should resolve to /catch-all/[...slug].js, with router path /catch-all/[...slug]",
- "Trailing slashes production mode, trailingSlash: false /catch-all/hello/world/ should redirect to /catch-all/hello/world",
- "Trailing slashes production mode, trailingSlash: false /external-linker?href=https://nextjs.org should have href https://nextjs.org",
- "Trailing slashes production mode, trailingSlash: false /external-linker?href=https://nextjs.org/ should have href https://nextjs.org/",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/ should have href /",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/ should navigate to /",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/ should push route to /",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about should have href /about",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about should navigate to /about",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about should push route to /about",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about/ should have href /about",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about/ should navigate to /about",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about/ should push route to /about",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about/?hello=world should have href /about?hello=world",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about/?hello=world should navigate to /about?hello=world",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about/?hello=world should push route to /about?hello=world",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about?hello=world should have href /about?hello=world",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about?hello=world should navigate to /about?hello=world",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/about?hello=world should push route to /about?hello=world",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/catch-all/hello.world/ should have href /catch-all/hello.world",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/catch-all/hello.world/ should navigate to /catch-all/hello.world",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/catch-all/hello.world/ should push route to /catch-all/hello.world",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/catch-all/hello/ should have href /catch-all/hello",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/catch-all/hello/ should navigate to /catch-all/hello",
- "Trailing slashes production mode, trailingSlash: false /linker?href=/catch-all/hello/ should push route to /catch-all/hello",
- "Trailing slashes production mode, trailingSlash: false should have a redirect in the routesmanifest",
- "Trailing slashes production mode, trailingSlash: true / should client side render /index.js, with router path /",
- "Trailing slashes production mode, trailingSlash: true / should resolve to /index.js, with router path /",
- "Trailing slashes production mode, trailingSlash: true /about should redirect to /about/",
- "Trailing slashes production mode, trailingSlash: true /about/ should client side render /about.js, with router path /about",
- "Trailing slashes production mode, trailingSlash: true /about/ should resolve to /about.js, with router path /about",
- "Trailing slashes production mode, trailingSlash: true /about/?hello=world should client side render /about.js, with router path /about",
- "Trailing slashes production mode, trailingSlash: true /about/?hello=world should resolve to /about.js, with router path /about",
- "Trailing slashes production mode, trailingSlash: true /catch-all/hello.world/ should redirect to /catch-all/hello.world",
- "Trailing slashes production mode, trailingSlash: true /catch-all/hello/world should redirect to /catch-all/hello/world/",
- "Trailing slashes production mode, trailingSlash: true /catch-all/hello/world/ should client side render /catch-all/[...slug].js, with router path /catch-all/[...slug]",
- "Trailing slashes production mode, trailingSlash: true /catch-all/hello/world/ should resolve to /catch-all/[...slug].js, with router path /catch-all/[...slug]",
- "Trailing slashes production mode, trailingSlash: true /external-linker?href=https://nextjs.org should have href https://nextjs.org",
- "Trailing slashes production mode, trailingSlash: true /external-linker?href=https://nextjs.org/ should have href https://nextjs.org/",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/ should have href /",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/ should navigate to /",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/ should push route to /",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about should have href /about/",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about should navigate to /about/",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about should push route to /about/",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about/ should have href /about/",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about/ should navigate to /about/",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about/ should push route to /about/",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about/?hello=world should have href /about/?hello=world",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about/?hello=world should navigate to /about/?hello=world",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about/?hello=world should push route to /about/?hello=world",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about?hello=world should have href /about/?hello=world",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about?hello=world should navigate to /about/?hello=world",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/about?hello=world should push route to /about/?hello=world",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/catch-all/hello.world/ should have href /catch-all/hello.world",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/catch-all/hello.world/ should navigate to /catch-all/hello.world",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/catch-all/hello.world/ should push route to /catch-all/hello.world",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/catch-all/hello/ should have href /catch-all/hello/",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/catch-all/hello/ should navigate to /catch-all/hello/",
- "Trailing slashes production mode, trailingSlash: true /linker?href=/catch-all/hello/ should push route to /catch-all/hello/",
- "Trailing slashes production mode, trailingSlash: true should have a trailing redirect in the routesmanifest",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs should redirect to /docs/",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs/about should redirect to /docs/about/",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs/catch-all/hello.world/ should redirect to /docs/catch-all/hello.world",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs/catch-all/hello/world should redirect to /docs/catch-all/hello/world/",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs/linker?href=/ should have href /docs/",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs/linker?href=/ should navigate to /docs/",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs/linker?href=/ should push route to /docs/",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs/linker?href=/about should have href /docs/about/",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs/linker?href=/about should navigate to /docs/about/",
- "Trailing slashes production mode, with basepath, trailingSlash: true /docs/linker?href=/about should push route to /docs/about/"
- ],
- "flakey": [],
- "runtimeError": false
- },
"test/integration/tsconfig-verifier/test/index.test.js": {
"passed": [],
"failed": [],
diff --git a/turbopack/crates/turbopack-node/js/src/transforms/transforms.ts b/turbopack/crates/turbopack-node/js/src/transforms/transforms.ts
index f07aca33ad3d3..012895aac3c34 100644
--- a/turbopack/crates/turbopack-node/js/src/transforms/transforms.ts
+++ b/turbopack/crates/turbopack-node/js/src/transforms/transforms.ts
@@ -67,6 +67,9 @@ process.env = new Proxy(originalEnv, {
}
return Reflect.get(target, prop)
},
+ set(target, prop, value) {
+ return Reflect.set(target, prop, value)
+ },
})
export function getReadEnvVariables(): string[] {