{
"packages/font/src/google/find-font-files-in-css.test.ts": {
"passed": [
"findFontFilesInCss should find all font files and preload requested subsets",
"findFontFilesInCss should not return duplicate font files when several variants use the same font file"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/font/src/google/get-font-axes.test.ts": {
"passed": [
"getFontAxes errors Invalid axes value",
"getFontAxes errors Invalid value in axes array",
"getFontAxes errors Setting axes on font without definable axes"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/font/src/google/loader.test.ts": {
"passed": [
"next/font/google loader URL from options Albert_Sans",
"next/font/google loader URL from options Ballet",
"next/font/google loader URL from options Fraunces",
"next/font/google loader URL from options Inter",
"next/font/google loader URL from options Molle",
"next/font/google loader URL from options Nabla",
"next/font/google loader URL from options Oooh_Baby",
"next/font/google loader URL from options Poppins",
"next/font/google loader URL from options Roboto",
"next/font/google loader URL from options Roboto Mono",
"next/font/google loader URL from options Roboto_Flex",
"next/font/google loader URL from options Source_Sans_3"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/font/src/google/sort-fonts-variant-values.test.ts": {
"passed": [
"sortFontsVariantValues should correctly compare and return result for comma-separated values",
"sortFontsVariantValues should correctly compare and return result for plain integer values",
"sortFontsVariantValues should sort an array of plain integer values correctly",
"sortFontsVariantValues should sort an array of values with comma-separated values correctly"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/font/src/google/validate-google-font-function-call.test.ts": {
"passed": [
"validateFontFunctionCall errors Invalid display value",
"validateFontFunctionCall errors Invalid subset in call",
"validateFontFunctionCall errors Missing function name",
"validateFontFunctionCall errors Missing subsets in config and call",
"validateFontFunctionCall errors Missing weight for non variable font",
"validateFontFunctionCall errors Setting axes on non variable font",
"validateFontFunctionCall errors Setting axes on variable font with incorrect weight",
"validateFontFunctionCall errors Unknown font",
"validateFontFunctionCall errors Unknown style",
"validateFontFunctionCall errors Unknown weight",
"validateFontFunctionCall errors Variable in weight array"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/font/src/local/loader.test.ts": {
"passed": [
"next/font/local loader generated CSS Custom font-family in declarations",
"next/font/local loader generated CSS Default CSS",
"next/font/local loader generated CSS Multiple styles default weight",
"next/font/local loader generated CSS Multiple weights default style",
"next/font/local loader generated CSS Other properties",
"next/font/local loader generated CSS Weight and style"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/font/src/local/pick-font-file-for-fallback-generation.test.ts": {
"passed": [
"pickFontFileForFallbackGeneration Invalid variable weight in array",
"pickFontFileForFallbackGeneration should error on invalid weight in array",
"pickFontFileForFallbackGeneration should pick the thinner weight if both have the same distance to 400",
"pickFontFileForFallbackGeneration should pick the weight closest to 400",
"pickFontFileForFallbackGeneration should pick variable range closest to 400",
"pickFontFileForFallbackGeneration should prefer normal style over italic"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/font/src/local/validate-local-font-function-call.test.ts": {
"passed": [
"validateLocalFontFunctionCall Empty src array",
"validateLocalFontFunctionCall Invalid declaration",
"validateLocalFontFunctionCall Invalid display value",
"validateLocalFontFunctionCall Invalid file extension",
"validateLocalFontFunctionCall Missing src",
"validateLocalFontFunctionCall Not using default export",
"validateLocalFontFunctionCall Valid font-family declaration"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/add-missing-react-import.test.js": {
"passed": [
"add-missing-react-import transforms correctly using \"add-missing-react-import/missing-react-import-in-component\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/app-dir-runtime-config-experimental-edge.test.js": {
"passed": [
"app-dir-runtime-config-experimental-edge transforms correctly using \"app-dir-runtime-config-experimental-edge/already-edge\" data",
"app-dir-runtime-config-experimental-edge transforms correctly using \"app-dir-runtime-config-experimental-edge/basic\" data",
"app-dir-runtime-config-experimental-edge transforms correctly using \"app-dir-runtime-config-experimental-edge/no-runtime\" data",
"app-dir-runtime-config-experimental-edge transforms correctly using \"app-dir-runtime-config-experimental-edge/nodejs\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/built-in-next-font.test.js": {
"passed": [
"built-in-next-font transforms correctly using \"built-in-next-font/page\" data",
"built-in-next-font transforms correctly using \"built-in-next-font/should-not-add-semicolon\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/metadata-to-viewport-export.test.js": {
"passed": [
"metadata-to-viewport-export transforms correctly using \"metadata-to-viewport-export/metadata-empty\" data",
"metadata-to-viewport-export transforms correctly using \"metadata-to-viewport-export/metadata-with-viewport\" data",
"metadata-to-viewport-export transforms correctly using \"metadata-to-viewport-export/metadata-without-mixed\" data",
"metadata-to-viewport-export transforms correctly using \"metadata-to-viewport-export/metadata-without-viewport\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/name-default-component.test.js": {
"passed": [
"name-default-component transforms correctly using \"name-default-component/1-starts-with-number\" data",
"name-default-component transforms correctly using \"name-default-component/existing-name\" data",
"name-default-component transforms correctly using \"name-default-component/existing-name-2\" data",
"name-default-component transforms correctly using \"name-default-component/existing-name-3\" data",
"name-default-component transforms correctly using \"name-default-component/existing-name-ignore\" data",
"name-default-component transforms correctly using \"name-default-component/function-component\" data",
"name-default-component transforms correctly using \"name-default-component/function-component-2\" data",
"name-default-component transforms correctly using \"name-default-component/function-component-ignore\" data",
"name-default-component transforms correctly using \"name-default-component/function-expression\" data",
"name-default-component transforms correctly using \"name-default-component/function-expression-ignore\" data",
"name-default-component transforms correctly using \"name-default-component/special-ch@racter\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/new-link.test.js": {
"passed": [
"new-link transforms correctly using \"new-link/add-legacy-behavior\" data",
"new-link transforms correctly using \"new-link/children-interpolation\" data",
"new-link transforms correctly using \"new-link/excludes-links-with-legacybehavior-prop\" data",
"new-link transforms correctly using \"new-link/handle-duplicate-props\" data",
"new-link transforms correctly using \"new-link/link-a\" data",
"new-link transforms correctly using \"new-link/link-string\" data",
"new-link transforms correctly using \"new-link/move-props\" data",
"new-link transforms correctly using \"new-link/spread-props\" data",
"new-link transforms correctly using \"new-link/styled-jsx\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/next-async-request-api-dynamic-apis.test.js": {
"passed": [
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-01",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-02",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-03",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-04",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-05",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-06",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-07",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-08",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-10",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-11",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-12",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-13",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-14",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-15",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-16",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-17",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-18",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-19",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-20",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-21",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-22",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-23",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-24",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-25",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-type-cast-01",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/async-api-type-cast-02",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/custom-routes-access-api-prop-01",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-01",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-02",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/generate-metadata-access-api-prop-03",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/no-transform-local-call",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/no-transform-non-nextjs-cookies",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/origin-name-01-util",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/origin-name-02-util",
"next-async-request-api - dynamic-apis transforms correctly next-async-request-api-dynamic-apis/origin-name-03-env.d"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/next-async-request-api-dynamic-props.test.js": {
"passed": [
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-01",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-02",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-03",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-04",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-05",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-06",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-07",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-08",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-09",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-10",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-11",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-12",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-13",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-14",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-15",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-16",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-17",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-18",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-19",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-20",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-21",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-22",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-23",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-24",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-25",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-26",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-27",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-28",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-29",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-30",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-31",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-32",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-33",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-34",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-35",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-36",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-37",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-38",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-39",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/access-props-40",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/generate-metadata-access-prop-01",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/generate-metadata-access-prop-02",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/generate-metadata-access-prop-03",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/generate-metadata-access-prop-04",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/no-transform-non-default-function",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/origin-name-01-route",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/origin-name-02-somefile",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/origin-name-03-default",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/route-access-prop-01",
"next-async-request-api - dynamic-props transforms correctly next-async-request-api-dynamic-props/route-access-props-02"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/next-image-experimental-loader.test.js": {
"passed": [],
"failed": [],
"pending": [
"should transform loader akamai",
"should transform loader cloudinary",
"should transform loader imgix",
"should transform loader many-keys",
"should transform loader monorepo",
"should transform loader wrapped-with-pwa"
],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/next-image-experimental.test.js": {
"passed": [
"next-image-experimental transforms correctly using \"next-image-experimental/general\" data",
"next-image-experimental transforms correctly using \"next-image-experimental/require\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/next-image-to-legacy-image.test.js": {
"passed": [
"next-image-to-legacy-image transforms correctly using \"next-image-to-legacy-image/dynamic\" data",
"next-image-to-legacy-image transforms correctly using \"next-image-to-legacy-image/general\" data",
"next-image-to-legacy-image transforms correctly using \"next-image-to-legacy-image/require\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/next-og-import.test.js": {
"passed": [
"next-og-import transforms correctly using \"next-og-import/mixed-import\" data",
"next-og-import transforms correctly using \"next-og-import/next-server-only-import\" data",
"next-og-import transforms correctly using \"next-og-import/og-only-import\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/next-request-geo-ip.test.js": {
"passed": [
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/destructure\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/destructure-alias\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/direct-access\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/duplicate-identifiers\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/function-param\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/geo-properties\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/geo-type-import\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/has-imports\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/has-imports-alias\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/has-other-import\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/multiple-imports\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/replace-type\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/replace-type-geo-only\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/replace-type-ip-only\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/skip-empty-ast\" data",
"next-request-geo-ip transforms correctly using \"next-request-geo-ip/skip-no-next-request\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/url-to-withrouter.test.js": {
"passed": [
"url-to-withrouter transforms correctly using \"url-to-withrouter/already-using-withrouter\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/arrow-function-component\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/componentdidupdate\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/componentwillreceiveprops\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/destructuring-this\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/destructuring-this-class\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/destructuring-this-props\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/destructuring-this-props-nested\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/export-default-variable\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/export-default-variable-wrapping\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/first-parameter-hoc\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/no-transform\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/no-transform-method\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/url-property-not-part-of-this-props\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/using-inline-class\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/variable-export\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/with-nested-arrow-function\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/with-router-import\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/without-import\" data",
"url-to-withrouter transforms correctly using \"url-to-withrouter/wrapping-export\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next-codemod/transforms/__tests__/withamp-to-config.test.js": {
"passed": [
"withamp-to-config transforms correctly using \"withamp-to-config/full-amp\" data",
"withamp-to-config transforms correctly using \"withamp-to-config/full-amp-inline\" data",
"withamp-to-config transforms correctly using \"withamp-to-config/full-amp-with-config\" data",
"withamp-to-config transforms correctly using \"withamp-to-config/full-amp-with-config-dupe\" data",
"withamp-to-config transforms correctly using \"withamp-to-config/full-amp-with-config-var\" data",
"withamp-to-config transforms correctly using \"withamp-to-config/hybrid-amp\" data",
"withamp-to-config transforms correctly using \"withamp-to-config/hybrid-amp-with-config\" data",
"withamp-to-config transforms correctly using \"withamp-to-config/remove-import\" data",
"withamp-to-config transforms correctly using \"withamp-to-config/remove-import-renamed\" data",
"withamp-to-config transforms correctly using \"withamp-to-config/remove-import-single\" data"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/build/analysis/get-page-static-info.test.ts": {
"passed": [
"get-page-static-infos getMiddlewareMatchers matches /:id and /:id.json",
"get-page-static-infos getMiddlewareMatchers sets originalSource with multiple matchers",
"get-page-static-infos getMiddlewareMatchers sets originalSource with one matcher"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/build/normalize-catchall-routes.test.ts": {
"passed": [
"normalizeCatchallRoutes should add the catch-all route to all matched paths at the root",
"normalizeCatchallRoutes should add the catch-all route to all matched paths when nested",
"normalizeCatchallRoutes should not add the catch-all route to a path that has a @children slot",
"normalizeCatchallRoutes should not add the catch-all route to non-catchall segments that are more specific",
"normalizeCatchallRoutes should not add the catch-all route to segments that have a more specific [dynamicRoute]",
"normalizeCatchallRoutes should not add the catch-all route to segments that have a more specific default",
"normalizeCatchallRoutes should not add the catch-all to the interception route"
],
"failed": [],
"pending": [
"normalizeCatchallRoutes should only match optional catch-all paths to the \"index\" of a segment"
],
"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",
"resolveRouteData resolveRobots should resolve robots.txt",
"resolveRouteData resolveSitemap should resolve sitemap.xml",
"resolveRouteData resolveSitemap should resolve sitemap.xml with alternates",
"resolveRouteData resolveSitemap should resolve sitemap.xml with images",
"resolveRouteData resolveSitemap should resolve sitemap.xml with videos"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/build/webpack/plugins/next-types-plugin/index.test.ts": {
"passed": [
"next-types-plugin should generate correct base import path",
"next-types-plugin should generate correct base import path for custom projects",
"next-types-plugin should generate correct base import path for nx monorepos"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/bundles/cssnano-simple/cssnano-preset-simple.test.ts": {
"passed": [
"cssnano accepts plugin configuration should not remove all comments",
"cssnano accepts plugin configuration should remove all comments",
"https://github.com/Timer/cssnano-preset-simple/issues/1 evaluates without error",
"property sorting should result in correct border width",
"with escaped selector should not misplace the backslash"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/is-next-router-error.test.ts": {
"passed": ["isNextRouterError returns true for a navigation error"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/navigation.test.ts": {
"passed": [
"next/navigation should be able to construct URLSearchParams from ReadonlyURLSearchParams"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/promise-queue.test.ts": {
"passed": [
"PromiseQueue should allow bumping a promise to be next in the queue",
"PromiseQueue should limit the number of concurrent promises"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/redirect.test.ts": {
"passed": ["test should throw a redirect error"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/apply-router-state-patch-to-tree.test.tsx": {
"passed": ["applyRouterStatePatchToTree should apply a patch to the tree"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/clear-cache-node-data-for-segment-path.test.tsx": {
"passed": [
"clearCacheNodeDataForSegmentPath should clear the data property"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/compute-changed-path.test.ts": {
"passed": ["computeChangedPath should return the correct path"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/create-href-from-url.test.ts": {
"passed": [
"createHrefFromUrl adds hash",
"createHrefFromUrl adds pathname",
"createHrefFromUrl adds pathname, searchParams, and hash",
"createHrefFromUrl adds searchParams",
"createHrefFromUrl returns a string"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/create-initial-router-state.test.tsx": {
"passed": [
"createInitialRouterState should return the correct initial router state"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/create-router-cache-key.test.ts": {
"passed": [
"createRouterCacheKey should support catch all segment",
"createRouterCacheKey should support dynamic segment",
"createRouterCacheKey should support string segment"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/fill-cache-with-new-subtree-data.test.tsx": {
"passed": [
"fillCacheWithNewSubtreeData should apply rsc and head property"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.test.tsx": {
"passed": [
"fillLazyItemsTillLeafWithHead should fill lazy items till leaf with head"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/get-segment-value.test.ts": {
"passed": [
"getSegmentValue should support catch all segment",
"getSegmentValue should support dynamic segment",
"getSegmentValue should support string segment"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/invalidate-cache-below-flight-segmentpath.test.tsx": {
"passed": [
"invalidateCacheBelowFlightSegmentPath should invalidate cache below flight segment path"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/invalidate-cache-by-router-state.test.tsx": {
"passed": [
"invalidateCacheByRouterState should invalidate the cache by router state"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/is-navigating-to-new-root-layout.test.ts": {
"passed": [
"isNavigatingToNewRootLayout should return false if there is no new root layout",
"isNavigatingToNewRootLayout should return true if there is a mismatch between the root layouts"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/reducers/find-head-in-cache.test.tsx": {
"passed": ["findHeadInCache should find the head"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/components/router-reducer/should-hard-navigate.test.tsx": {
"passed": [
"shouldHardNavigate should return false if segments are dynamic and match",
"shouldHardNavigate should return false if the segments match",
"shouldHardNavigate should return true if segments are dynamic and mismatch"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/client/flight-data-helpers.test.ts": {
"passed": [
"prepareFlightRouterStateForRequest HMR refresh handling should preserve complete state for HMR refresh requests",
"prepareFlightRouterStateForRequest URL stripping should always set URL (index 2) to null",
"prepareFlightRouterStateForRequest __PAGE__ segment handling should preserve dynamic segments",
"prepareFlightRouterStateForRequest __PAGE__ segment handling should preserve non-page segments",
"prepareFlightRouterStateForRequest __PAGE__ segment handling should strip search params from __PAGE__ segments",
"prepareFlightRouterStateForRequest optional fields preservation should handle minimal FlightRouterState (only segment and parallelRoutes)",
"prepareFlightRouterStateForRequest optional fields preservation should preserve hasLoadingBoundary",
"prepareFlightRouterStateForRequest optional fields preservation should preserve isRootLayout when false",
"prepareFlightRouterStateForRequest optional fields preservation should preserve isRootLayout when true",
"prepareFlightRouterStateForRequest real-world scenarios should handle complex FlightRouterState with all features",
"prepareFlightRouterStateForRequest recursive processing of parallel routes should handle deeply nested parallel routes",
"prepareFlightRouterStateForRequest recursive processing of parallel routes should recursively process nested parallel routes",
"prepareFlightRouterStateForRequest refresh marker handling should preserve \"inside-shared-layout\" marker",
"prepareFlightRouterStateForRequest refresh marker handling should preserve \"refetch\" marker",
"prepareFlightRouterStateForRequest refresh marker handling should strip \"refresh\" marker (client-only)",
"prepareFlightRouterStateForRequest refresh marker handling should strip null refresh marker"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/diagnostics/build-diagnostics.test.ts": {
"passed": [
"build-diagnostics records build diagnostics to a file correctly",
"build-diagnostics records framework version to framework.json correctly"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/experimental/testing/server/config-testing-utils.test.ts": {
"passed": [
"config-testing-utils basePath",
"config-testing-utils headers simple match",
"config-testing-utils redirects handles redirect",
"config-testing-utils redirects handles redirect with params",
"config-testing-utils redirects handles redirect with query params",
"config-testing-utils redirects ignores redirect that doesn't match has",
"config-testing-utils redirects redirects take precedence over rewrites",
"config-testing-utils redirects redirects with has and missing",
"config-testing-utils returns 200 for paths that do not match",
"config-testing-utils rewrites beforeFiles rewrites take precedence over afterFiles and fallback",
"config-testing-utils rewrites handles rewrite"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/experimental/testing/server/middleware-testing-utils.test.ts": {
"passed": [
"unstable_doesMiddlewareMatch basePath correctly picks up basePath from nextConfig",
"unstable_doesMiddlewareMatch has condition cookies matches only when the cookie is present",
"unstable_doesMiddlewareMatch has condition header matches only when the header is present",
"unstable_doesMiddlewareMatch has condition query params matches only when the query parameter is present",
"unstable_doesMiddlewareMatch matches everything when no matcher is provided",
"unstable_doesMiddlewareMatch matches only valid paths in the config",
"unstable_doesMiddlewareMatch matches regular expressions",
"unstable_doesMiddlewareMatch missing condition cookies matches only when the cookie is missing",
"unstable_doesMiddlewareMatch missing condition header matches only when the header is missing",
"unstable_doesMiddlewareMatch missing condition query params matches only when the query parameter is missing"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/batcher.test.ts": {
"passed": [
"Batcher batch should batch multiple calls to the same key",
"Batcher batch should execute the work function immediately",
"Batcher batch should not batch calls to different keys",
"Batcher batch should use the cacheKeyFn to generate cache keys",
"Batcher batch should use the schedulerFn to schedule work"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/find-config.test.ts": {
"passed": [
"findConfig() should load config properly from *.config.* file (type: \"commonjs\", config: awsome.config.cjs)",
"findConfig() should load config properly from *.config.* file (type: \"commonjs\", config: awsome.config.js)",
"findConfig() should load config properly from *.config.* file (type: \"commonjs\", config: awsome.config.mjs)",
"findConfig() should load config properly from *.config.* file (type: \"module\", config: awsome.config.cjs)",
"findConfig() should load config properly from *.config.* file (type: \"module\", config: awsome.config.js)",
"findConfig() should load config properly from *.config.* file (type: \"module\", config: awsome.config.mjs)",
"findConfig() should load config properly from the config in package.json)"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/format-server-error.test.ts": {
"passed": ["formatServerError should not append message several times"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/load-custom-routes.test.ts": {
"passed": [
"loadCustomRoutes rewrites array rewrites should be added to afterFiles",
"loadCustomRoutes rewrites assetPrefix automatically insert assetPrefix rewrite for /_next/ paths when assetPrefix is absolute URL with a path",
"loadCustomRoutes rewrites assetPrefix automatically inserts assetPrefix rewrite for /_next/ paths",
"loadCustomRoutes rewrites assetPrefix automatically inserts assetPrefix rewrite for /_next/ paths for basePath",
"loadCustomRoutes rewrites assetPrefix automatically inserts assetPrefix rewrite for /_next/ paths when rewrites() is not present",
"loadCustomRoutes rewrites assetPrefix does not add rewrite when assetPrefix === basePath",
"loadCustomRoutes rewrites assetPrefix does not insert assetPrefix rewrite for /_next/ paths when assetPrefix is absolute URL",
"loadCustomRoutes rewrites missing rewrites should not throw",
"loadCustomRoutes rewrites rewrites should be preserved correctly"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/metadata/is-metadata-route.test.ts": {
"passed": [
"getExtensionRegexString with dynamic extensions should not handle js extensions with empty dynamic extensions",
"getExtensionRegexString with dynamic extensions should not handle js extensions with passing null for dynamic extensions",
"getExtensionRegexString with dynamic extensions should return the correct regex",
"getExtensionRegexString without dynamic extensions should return the correct regex",
"isMetadataPage should match metadata page path",
"isMetadataPage should not match app router page path or error boundary path",
"isMetadataRoute should match grouped metadata routes",
"isMetadataRoute should match metadata routes",
"isMetadataRoute should require suffix for metadata routes",
"isMetadataRoute should support metadata variant numeric suffix",
"isMetadataRouteFile match file - with extension should match dynamic metadata routes",
"isMetadataRouteFile match file - with extension should match static metadata route files",
"isMetadataRouteFile match route - without extension should match metadata route page paths"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/metadata/resolve-metadata.test.ts": {
"passed": [
"accumulateMetadata alternate should support URL alternate canonical with search params",
"accumulateMetadata alternate should support alternate descriptors",
"accumulateMetadata alternate should support string alternate",
"accumulateMetadata alternate should support string alternate canonical with search params",
"accumulateMetadata icon should resolve icons.apple",
"accumulateMetadata icon should resolve icons.icon correctly",
"accumulateMetadata itunes should resolve relative url starting with ./ with pathname for itunes.appArgument",
"accumulateMetadata openGraph and twitter should convert string or URL images field to array, not only for basic og type",
"accumulateMetadata openGraph and twitter should fill only the existing props from openGraph to twitter",
"accumulateMetadata openGraph and twitter should fill twitter with partial existing openGraph metadata",
"accumulateMetadata openGraph and twitter should inherit metadata title description into openGraph or twitter if they are configured",
"accumulateMetadata openGraph and twitter should override openGraph or twitter images when current layer specifies social images properties",
"accumulateMetadata openGraph and twitter should prefer title and description from openGraph rather than metadata for twitter",
"accumulateMetadata openGraph and twitter should resolve relative url starting with ./ with pathname for openGraph.url",
"accumulateMetadata title should merge title with page title",
"accumulateMetadata title should merge title with parent layout ",
"accumulateMetadata typing should support both sync and async metadata",
"accumulateViewport themeColor should support string theme color",
"accumulateViewport themeColor should support theme color descriptors",
"accumulateViewport viewport should skip viewport.initialScale if it is set undefined explicitly",
"accumulateViewport viewport should support viewport descriptors"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/metadata/resolvers/resolve-opengraph.test.ts": {
"passed": [
"resolveImages should filter out invalid images",
"resolveImages should not mutate passed images",
"resolveImages should resolve images",
"resolveOpenGraph should return null if the value is an empty string",
"resolveOpenGraph should return null if the value is null"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/metadata/resolvers/resolve-title.test.ts": {
"passed": [
"resolveTitle should resolve nullable template as empty string title",
"resolveTitle should resolve title with template"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/metadata/resolvers/resolve-url.test.ts": {
"passed": [
"getSocialImageFallbackMetadataBase fallbackMetadataBase when metadataBase is not present should prefer branch url in preview deployment if presents",
"getSocialImageFallbackMetadataBase fallbackMetadataBase when metadataBase is not present should return local url in local build mode",
"getSocialImageFallbackMetadataBase fallbackMetadataBase when metadataBase is not present should return localhost url in local build mode with experimental https",
"getSocialImageFallbackMetadataBase fallbackMetadataBase when metadataBase is not present should return localhost url in local dev mode",
"getSocialImageFallbackMetadataBase fallbackMetadataBase when metadataBase is not present should return localhost url in local dev mode with experimental https",
"getSocialImageFallbackMetadataBase fallbackMetadataBase when metadataBase is not present should return project production url in production deployment",
"getSocialImageFallbackMetadataBase fallbackMetadataBase when metadataBase is not present should return vercel url in preview deployment if only it presents",
"metadata: resolveUrl should compose with metadataBase when url is relative or absolute",
"metadata: resolveUrl should ignore metadataBase when url is valid URL",
"metadata: resolveUrl should return null when url is falsy",
"metadata: resolveUrl should return url itself when metadataBase is null or url is valid URL",
"resolveAbsoluteUrlWithPathname trailingSlash is false should resolve absolute internal url",
"resolveAbsoluteUrlWithPathname trailingSlash is true should add trailing slash to absolute internal url",
"resolveAbsoluteUrlWithPathname trailingSlash is true should add trailing slash to relative url",
"resolveAbsoluteUrlWithPathname trailingSlash is true should not add trailing slash to absolute internal url with query",
"resolveAbsoluteUrlWithPathname trailingSlash is true should not add trailing slash to external url",
"resolveAbsoluteUrlWithPathname trailingSlash is true should not add trailing slash to relative url that matches file pattern",
"resolveAbsoluteUrlWithPathname trailingSlash is true should not add trailing slash to relative url with query"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/lib/typescript/writeConfigurationDefaults.test.ts": {
"passed": [
"writeConfigurationDefaults() appDir applies suggested and mandatory defaults to existing tsconfig.json and logs them",
"writeConfigurationDefaults() appDir does not warn about disabled strict mode if strict mode was already enabled",
"writeConfigurationDefaults() appDir with tsconfig extends should not add strictNullChecks if base provides it",
"writeConfigurationDefaults() appDir with tsconfig extends should replace includes when base is missing appTypes",
"writeConfigurationDefaults() appDir with tsconfig extends should support empty includes when base provides it"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/next-devtools/dev-overlay/components/code-frame/parse-code-frame.test.ts": {
"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": [],
"runtimeError": false
},
"packages/next/src/next-devtools/dev-overlay/components/errors/error-overlay-layout/error-overlay-layout.test.tsx": {
"passed": [
"ErrorOverlayLayout Component renders ErrorOverlayLayout with provided props",
"ErrorOverlayLayout Component sends feedback when clicking helpful button",
"ErrorOverlayLayout Component sends feedback when clicking not helpful button",
"ErrorOverlayLayout Component voting buttons have aria-hidden icons"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/next-devtools/dev-overlay/segment-explorer-trie.test.tsx": {
"passed": [
"Segment Explorer add complex structure",
"Segment Explorer remove node in the middle"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/next-devtools/dev-overlay/utils/css.test.ts": {
"passed": [
"css template literal tag should combines strings and interpolations correctly",
"css template literal tag should handle CSS wildcard selector",
"css template literal tag should handle empty strings",
"css template literal tag should handle multiple interpolations",
"css template literal tag should remove CSS comments",
"css template literal tag should remove all whitespace",
"css template literal tag should remove multiline comments"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/next-devtools/dev-overlay/utils/cx.test.ts": {
"passed": [
"cx should filter out falsy values",
"cx should handle all falsy values",
"cx should handle single string argument",
"cx should join multiple string arguments with spaces",
"cx should not add extra spaces when falsy values are between strings",
"cx should return an empty string for no arguments"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/next-devtools/dev-overlay/utils/parse-url-from-text.test.ts": {
"passed": [
"parseUrlFromText should extract a URL from text",
"parseUrlFromText should extract multiple URLs from text",
"parseUrlFromText should filter URLs using matcherFunc",
"parseUrlFromText should handle URLs with paths and query parameters",
"parseUrlFromText should handle empty string input",
"parseUrlFromText should return empty array when no URLs are found"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/next-devtools/server/get-next-error-feedback-middleware.test.ts": {
"passed": [
"getNextErrorFeedbackMiddleware calls next() if path does not match",
"getNextErrorFeedbackMiddleware records telemetry when feedback is submitted",
"getNextErrorFeedbackMiddleware returns 400 if params are missing",
"getNextErrorFeedbackMiddleware returns 500 if telemetry recording fails"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/next-devtools/server/launch-editor.test.ts": {
"passed": ["applescript string escaping should escape strings correctly"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/next-devtools/shared/webpack-module-path.test.ts": {
"passed": [
"webpack-module-path formatFrameSourceFile should return the original file path",
"webpack-module-path isWebpackInternalResource should return false for non-webpack-internal paths",
"webpack-module-path isWebpackInternalResource should return true for webpack-internal paths"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/after/after-context.test.ts": {
"passed": [
"AfterContext does NOT shadow workAsyncStorage within after callbacks",
"AfterContext does not hang forever if onClose failed",
"AfterContext preserves the ALS context the callback was created in",
"AfterContext runs after() callbacks added within an after()",
"AfterContext runs after() callbacks from a run() callback that resolves",
"AfterContext runs after() callbacks from a run() callback that streams",
"AfterContext runs after() callbacks from a run() callback that throws",
"AfterContext runs all after() callbacks even if some of them threw",
"AfterContext throws from after() if waitUntil is not provided"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/after/awaiter.test.ts": {
"passed": [
"AwaiterOnce does not allow calling waitUntil after it's been awaited",
"AwaiterOnce/AwaiterMulti AwaiterMulti awaits promises added by other promises",
"AwaiterOnce/AwaiterMulti AwaiterMulti calls onError for rejected promises",
"AwaiterOnce/AwaiterMulti AwaiterOnce awaits promises added by other promises",
"AwaiterOnce/AwaiterMulti AwaiterOnce calls onError for rejected promises"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/app-render/action-handler.test.ts": {
"passed": [
"parseHostHeader should return correct host",
"parseHostHeader should return correct x-forwarded-host when provided in array",
"parseHostHeader should return whichever matches provided origin",
"parseHostHeader should return x-forwarded-host over host header"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/app-render/csrf-protection.test.ts": {
"passed": [
"isCsrfOriginAllowed should correctly handle origins that don't have a TLD (eg for localhost)",
"isCsrfOriginAllowed should return false when allowedOrigins contains originDomain with non-matching pattern",
"isCsrfOriginAllowed should return false when allowedOrigins does not contain originDomain",
"isCsrfOriginAllowed should return false when allowedOrigins is empty",
"isCsrfOriginAllowed should return false when allowedOrigins is empty string",
"isCsrfOriginAllowed should return false when allowedOrigins is undefined",
"isCsrfOriginAllowed should return true when allowedOrigins contains originDomain",
"isCsrfOriginAllowed should return true when allowedOrigins contains originDomain with matching pattern",
"isCsrfOriginAllowed wildcards are only supported below the domain level"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/app-render/postponed-state.test.ts": {
"passed": [
"getDynamicDataPostponedState serializes a data postponed state with fallback params",
"getDynamicHTMLPostponedState can serialize and deserialize a HTML postponed state with fallback params",
"getDynamicHTMLPostponedState serializes a HTML postponed state with fallback params",
"getDynamicHTMLPostponedState serializes a HTML postponed state without fallback params",
"parsePostponedState parses a HTML postponed state with fallback params",
"parsePostponedState parses a HTML postponed state without fallback params",
"parsePostponedState parses a data postponed state"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/app-render/types.test.ts": {
"passed": [
"flightRouterStateSchema should not validate an incorrect flight router state",
"flightRouterStateSchema should validate a correct flight router state"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/base-http/web.test.ts": {
"passed": [
"WebNextResponse onClose stream body",
"WebNextResponse onClose string body"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/config.test.ts": {
"passed": [
"loadConfig canary-only features errors when using PPR if not in canary",
"loadConfig canary-only features errors when using cacheComponents if not in canary",
"loadConfig canary-only features errors when using persistentCaching if not in canary",
"loadConfig canary-only features should not print a stack trace when throwing an error",
"loadConfig nextConfig.images defaults should assign a `images.remotePatterns` when using assetPrefix",
"loadConfig nextConfig.images defaults should not assign a duplicate `images.remotePatterns` value when using assetPrefix",
"loadConfig with a canary version errors when cacheComponents is enabled but PPR is disabled",
"loadConfig with a canary version errors when cacheComponents is enabled but PPR set to \"incremental\""
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/dev/log-requests.test.ts": {
"passed": [
"ignoreLoggingIncomingRequests should handle array of RegExp ignore patterns",
"ignoreLoggingIncomingRequests should not ignore when no ignore patterns configured",
"ignoreLoggingIncomingRequests should respect boolean config"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/dev/parse-version-info.test.ts": {
"passed": [
"parse version info installed: 12.0.0, latest: 13.1.1, canary: 13.0.1-canary.0 yields stale-major",
"parse version info installed: 13.0.0, latest: 12.0.0, canary: 12.0.1-canary.0 yields newer-than-npm",
"parse version info installed: 13.0.0, latest: 13.1.0, canary: 13.1.1-canary.0 yields stale-minor",
"parse version info installed: 13.0.0, latest: 13.1.0, canary: invalid yields unknown",
"parse version info installed: 13.0.0, latest: invalid, canary: 13.0.1-canary.0 yields unknown",
"parse version info installed: 13.0.1-canary.0, latest: 13.0.0, canary: 13.0.1-canary.1 yields stale-prerelease",
"parse version info installed: 13.0.1-canary.0, latest: 13.0.0, canary: 13.1.0-canary.0 yields stale-prerelease",
"parse version info installed: 13.0.1-canary.8, latest: 13.0.0, canary: 13.0.1-canary.7 yields newer-than-npm",
"parse version info installed: 13.1.0, latest: 13.1.0, canary: 13.1.1-canary.0 yields fresh",
"parse version info installed: 13.1.1, latest: 13.1.2, canary: 13.1.3-canary.0 yields stale-patch",
"parse version info installed: 13.1.1-canary.7, latest: 13.1.0, canary: 13.1.1-canary.7 yields fresh",
"parse version info installed: invalid, latest: 13.0.1, canary: 13.0.1-canary.0 yields unknown"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/lib/experimental/create-env-definitions.test.ts": {
"passed": [
"create-env-definitions should allow empty env",
"create-env-definitions should create env definitions",
"create-env-definitions should dedupe env definitions in order of priority"
],
"failed": [],
"pending": [],
"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",
"I18NProvider analyze for pathname /another/page and defaultLocale en",
"I18NProvider analyze for pathname /en and defaultLocale en",
"I18NProvider analyze for pathname /en-CA and defaultLocale en",
"I18NProvider analyze for pathname /en-CA/another/page and defaultLocale en",
"I18NProvider analyze for pathname /en/another/page and defaultLocale en",
"I18NProvider analyze for pathname /fr and defaultLocale en",
"I18NProvider analyze for pathname /fr/another/page and defaultLocale en",
"I18NProvider detectDomainLocale for domain example.ca",
"I18NProvider detectDomainLocale for domain example.com",
"I18NProvider detectDomainLocale for domain example.de",
"I18NProvider detectDomainLocale for domain example.fr",
"I18NProvider should detect the correct domain locale"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/lib/incremental-cache/shared-cache-controls.external.test.ts": {
"passed": [
"SharedCacheControls should clear the in-memory cache",
"SharedCacheControls should get cache control from in-memory cache",
"SharedCacheControls should get cache control from prerender manifest for dynamic route with fallback",
"SharedCacheControls should get cache control from prerender manifest if not in cache",
"SharedCacheControls should return undefined if cache control not found",
"SharedCacheControls should set cache control in cache"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/lib/mock-request.test.ts": {
"passed": [
"MockedRequest should have the correct properties",
"MockedResponse should handle set-cookie headers correctly",
"MockedResponse should merge headers correctly when calling writeHead",
"MockedResponse should update the statusMessage after calling writeHead"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/lib/patch-fetch.test.ts": {
"passed": ["createPatchedFetcher should not buffer a streamed response"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/lib/router-utils/build-data-route.test.ts": {
"passed": [
"buildDataRoute should build a dynamic data route",
"buildDataRoute should build a static data route"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"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": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/lib/router-utils/decode-path-params.test.ts": {
"passed": [
"decoding path params should decode path params",
"decoding path params should throw an error when the path param is improperly encoded"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/lib/to-route.test.ts": {
"passed": [
"toRoute Function should remove trailing `/index`",
"toRoute Function should remove trailing slash",
"toRoute Function should return `/` when input is `/index/`",
"toRoute Function should return `/` when input is `/index`",
"toRoute Function should return `/` when input is empty",
"toRoute Function should return `/` when input is only a slash"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/lib/utils.test.ts": {
"passed": [
"formatNodeOptions wraps values with spaces in quotes",
"getFormattedNodeOptionsWithoutInspect handles options with quotes",
"getFormattedNodeOptionsWithoutInspect handles options with spaces",
"getFormattedNodeOptionsWithoutInspect ignores unrelated options starting with --inspect-",
"getFormattedNodeOptionsWithoutInspect removes --inspect option",
"getFormattedNodeOptionsWithoutInspect removes --inspect option at end of line",
"getFormattedNodeOptionsWithoutInspect removes --inspect option with parameters",
"getFormattedNodeOptionsWithoutInspect removes --inspect-brk option",
"getFormattedNodeOptionsWithoutInspect removes --inspect-brk option with parameters",
"getParsedDebugAddress supports the flag with an equal sign",
"getParsedDebugAddress supports the flag without an equal sign",
"tokenizeArgs splits arguments by spaces",
"tokenizeArgs supports quoted values"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/load-manifest.test.ts": {
"passed": [
"loadManifest should cache the manifest when not already cached",
"loadManifest should freeze the manifest when caching",
"loadManifest should load the manifest from the file system when not cached",
"loadManifest should return the cached manifest when available",
"loadManifest should throw an error when the manifest file cannot be read"
],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/node-polyfill-crypto.test.ts": {
"passed": ["node-polyfill-crypto overwrite crypto"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"packages/next/src/server/normalizers/absolute-filename-normalizer.test.ts": {
"passed": [
"AbsoluteFilenameNormalizer normalizes '
with strictNextHead=false while client routing should update title during client routing", "updating
with strictNextHead=false while client routing should warn when scripts are in head", "updating
with strictNextHead=false while client routing should warn when stylesheets or scripts are in head", "updating
with strictNextHead=true while client routing should handle boolean async prop in next/head client-side: false", "updating
with strictNextHead=true while client routing should handle boolean async prop in next/head client-side: true", "updating
with strictNextHead=true while client routing should not warn when application/ld+json scripts are in head", "updating
with strictNextHead=true while client routing should only execute async and defer scripts once", "updating
with strictNextHead=true while client routing should update head during client routing", "updating
with strictNextHead=true while client routing should update head when unmounting component", "updating
with strictNextHead=true while client routing should update title during client routing", "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 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", "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": [], "pending": [], "flakey": [], "runtimeError": false }, "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", "Client Navigation rendering
with strictNextHead=false header helper dedupes tags", "Client Navigation rendering
with strictNextHead=false header helper dedupes tags with the same key as the default", "Client Navigation rendering
with strictNextHead=false header helper renders Fragment children", "Client Navigation rendering
with strictNextHead=false header helper renders boolean attributes correctly children", "Client Navigation rendering
with strictNextHead=false header helper renders header information", "Client Navigation rendering
with strictNextHead=false header renders default charset", "Client Navigation rendering
with strictNextHead=false header renders default viewport", "Client Navigation rendering
with strictNextHead=false should handle undefined prop in head server-side", "Client Navigation rendering
with strictNextHead=false should place charset element at the top of
", "Client Navigation rendering
with strictNextHead=true header helper avoids dedupe of meta tags with the same name if they use unique keys", "Client Navigation rendering
with strictNextHead=true header helper avoids dedupe of specific tags", "Client Navigation rendering
with strictNextHead=true header helper dedupes tags", "Client Navigation rendering
with strictNextHead=true header helper dedupes tags with the same key as the default", "Client Navigation rendering
with strictNextHead=true header helper renders Fragment children", "Client Navigation rendering
with strictNextHead=true header helper renders boolean attributes correctly children", "Client Navigation rendering
with strictNextHead=true header helper renders header information", "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
"
],
"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