From 2e53e59ca9ab08490ad2e2415f150d7716d444ec Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Thu, 7 Sep 2023 08:31:41 +0000 Subject: [PATCH 1/4] add all passing tests --- test/turbopack-tests-manifest.js | 459 ++++++++++++++++++++++++++++++- 1 file changed, 454 insertions(+), 5 deletions(-) diff --git a/test/turbopack-tests-manifest.js b/test/turbopack-tests-manifest.js index cf7b406536247..142fe347b475d 100644 --- a/test/turbopack-tests-manifest.js +++ b/test/turbopack-tests-manifest.js @@ -2,28 +2,477 @@ // Only tests that are actively testing against Turbopack should // be enabled here const enabledTests = [ + 'test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts', + 'test/development/acceptance-app/ReactRefreshLogBox.test.ts', + 'test/development/acceptance-app/ReactRefreshModule.test.ts', + 'test/development/acceptance-app/ReactRefreshRequire.test.ts', + 'test/development/acceptance-app/rsc-build-errors.test.ts', + 'test/development/acceptance-app/server-components.test.ts', + 'test/development/acceptance/hydration-error.test.ts', + 'test/development/acceptance/ReactRefreshLogBox-builtins.test.ts', + 'test/development/acceptance/ReactRefreshLogBox.test.ts', + 'test/development/acceptance/ReactRefreshRegression.test.ts', + 'test/development/acceptance/ReactRefreshRequire.test.ts', 'test/development/api-cors-with-rewrite/index.test.ts', + 'test/development/app-dir/multiple-compiles-single-route/multiple-compiles-single-route.test.ts', + 'test/development/app-dir/strict-mode-enabled-by-default/strict-mode-enabled-by-default.test.ts', + 'test/development/app-hmr/hmr.test.ts', + 'test/development/basic/barrel-optimization.test.ts', + 'test/development/basic/define-class-fields.test.ts', + 'test/development/basic/emotion-swc.test.ts', + 'test/development/basic/gssp-ssr-change-reloading/test/index.test.ts', + 'test/development/basic/hmr.test.ts', + 'test/development/basic/legacy-decorators.test.ts', + 'test/development/basic/misc.test.ts', + 'test/development/basic/next-dynamic.test.ts', + 'test/development/basic/next-rs-api.test.ts', + 'test/development/basic/node-builtins.test.ts', + 'test/development/basic/styled-components.test.ts', + 'test/development/basic/tailwind-jit.test.ts', + 'test/development/basic/theme-ui.test.ts', + 'test/development/client-dev-overlay/index.test.ts', + 'test/development/correct-tsconfig-defaults/index.test.ts', + 'test/development/dotenv-default-expansion/index.test.ts', + 'test/development/experimental-https-server/https-server.generated-key.test.ts', + 'test/development/experimental-https-server/https-server.provided-key.test.ts', + 'test/development/gssp-notfound/index.test.ts', + 'test/development/jsconfig-path-reloading/index.test.ts', 'test/development/middleware-warnings/index.test.ts', + 'test/development/next-font/deprecated-package.test.ts', + 'test/development/project-directory-with-styled.jsx', + 'test/development/repeated-dev-edits/repeated-dev-edits.test.ts', + 'test/development/tsconfig-path-reloading/index.test.ts', + 'test/development/typescript-auto-install/index.test.ts', + 'test/development/watch-config-file/index.test.ts', + 'test/e2e/404-page-router/index.test.ts', + 'test/e2e/app-dir//allow-underscored-root-directory//allow-underscored-root-directory.test.ts', + 'test/e2e/app-dir/actions/app-action-export.test.ts', + 'test/e2e/app-dir/actions/app-action-invalid.test.ts', + 'test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts', + 'test/e2e/app-dir/app-a11y/index.test.ts', + 'test/e2e/app-dir/app-alias/app-alias.test.ts', + 'test/e2e/app-dir/app-basepath/index.test.ts', + 'test/e2e/app-dir/app-client-cache/client-cache.test.ts', + 'test/e2e/app-dir/app-compilation/index.test.ts', 'test/e2e/app-dir/app-css-pageextensions/index.test.ts', + 'test/e2e/app-dir/app-css/index.test.ts', + 'test/e2e/app-dir/app-edge-root-layout/index.test.ts', + 'test/e2e/app-dir/app-edge/app-edge.test.ts', + 'test/e2e/app-dir/app-external/app-external.test.ts', + 'test/e2e/app-dir/app-fetch-deduping/app-fetch-deduping.test.ts', + 'test/e2e/app-dir/app-prefetch-false/app-prefetch-false.test.ts', + 'test/e2e/app-dir/app-prefetch/prefetching.test.ts', 'test/e2e/app-dir/app-rendering/rendering.test.ts', + 'test/e2e/app-dir/app-routes-trailing-slash/app-routes-trailing-slash.test.ts', + 'test/e2e/app-dir/app-routes/app-custom-route-base-path.test.ts', + 'test/e2e/app-dir/app-routes/app-custom-routes.test.ts', 'test/e2e/app-dir/app-simple-routes/app-simple-routes.test.ts', + 'test/e2e/app-dir/app-static/app-fetch-logging.test.ts', + 'test/e2e/app-dir/app-static/app-static-custom-cache-handler-esm.test.ts', + 'test/e2e/app-dir/app-static/app-static-custom-handler.test.ts', + 'test/e2e/app-dir/app-static/app-static.test.ts', + 'test/e2e/app-dir/app-validation/validation.test.ts', + 'test/e2e/app-dir/app/index.test.ts', + 'test/e2e/app-dir/app/standalone.test.ts', + 'test/e2e/app-dir/asset-prefix/asset-prefix.test.ts', + 'test/e2e/app-dir/async-component-preload/async-component-preload.test.ts', + 'test/e2e/app-dir/autoscroll-with-css-modules/index.test.ts', + 'test/e2e/app-dir/base-path/index.test.ts', 'test/e2e/app-dir/build-size/index.test.ts', + 'test/e2e/app-dir/crypto-globally-available/crypto-globally-available.test.ts', + 'test/e2e/app-dir/deopted-into-client-rendering-warning/deopted-into-client-rendering-warning.test.ts', + 'test/e2e/app-dir/draft-mode/draft-mode.test.ts', + 'test/e2e/app-dir/dynamic-href/dynamic-href.test.ts', + 'test/e2e/app-dir/dynamic/dynamic.test.ts', + 'test/e2e/app-dir/error-boundary-navigation/index.test.ts', + 'test/e2e/app-dir/error-boundary-navigation/override-node-env.test.ts', + 'test/e2e/app-dir/front-redirect-issue/front-redirect-issue.test.ts', + 'test/e2e/app-dir/global-error/basic/index.test.ts', + 'test/e2e/app-dir/global-error/layout-error/index.test.ts', + 'test/e2e/app-dir/headers-static-bailout/headers-static-bailout.test.ts', + 'test/e2e/app-dir/hello-world/hello-world.test.ts', + 'test/e2e/app-dir/hooks/hooks.test.ts', + 'test/e2e/app-dir/i18n-hybrid/i18n-hybrid.test.js', + 'test/e2e/app-dir/import/import.test.ts', + 'test/e2e/app-dir/interoperability-with-pages/navigation.test.ts', + 'test/e2e/app-dir/layout-params/layout-params.test.ts', + 'test/e2e/app-dir/mdx/mdx.test.ts', 'test/e2e/app-dir/metadata-missing-metadata-base/index.test.ts', + 'test/e2e/app-dir/metadata-suspense/index.test.ts', + 'test/e2e/app-dir/metadata/metadata.test.ts', + 'test/e2e/app-dir/navigation/navigation.test.ts', 'test/e2e/app-dir/next-config/index.test.ts', - 'test/e2e/disable-js-preload/test/index.test.js', + 'test/e2e/app-dir/not-found-default/index.test.ts', + 'test/e2e/app-dir/not-found/basic/index.test.ts', + 'test/e2e/app-dir/not-found/conflict-route/index.test.ts', + 'test/e2e/app-dir/not-found/css-precedence/index.test.ts', + 'test/e2e/app-dir/not-found/group-route-root-not-found/index.test.ts', + 'test/e2e/app-dir/not-found/group-route/index.test.ts', + 'test/e2e/app-dir/parallel-routes-and-interception/parallel-routes-and-interception.test.ts', + 'test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts', + 'test/e2e/app-dir/root-layout-redirect/root-layout-redirect.test.ts', + 'test/e2e/app-dir/root-layout/root-layout.test.ts', + 'test/e2e/app-dir/route-page-manifest-bug/route-page-manifest-bug.test.ts', + 'test/e2e/app-dir/router-autoscroll/router-autoscroll.test.ts', + 'test/e2e/app-dir/router-stuck-dynamic-static-segment/router-stuck-dynamic-static-segment.test.ts', + 'test/e2e/app-dir/rsc-basic/rsc-basic.test.ts', + 'test/e2e/app-dir/search-params-react-key/layout-params.test.ts', + 'test/e2e/app-dir/searchparams-static-bailout/searchparams-static-bailout.test.ts', + 'test/e2e/app-dir/similar-pages-paths/similar-pages-paths.test.ts', + 'test/e2e/app-dir/test-template/{{ toFileName name }}/{{ toFileName name }}.test.ts', + 'test/e2e/app-dir/third-parties/basic.test.ts', + 'test/e2e/app-dir/trailingslash/trailingslash.test.ts', + 'test/e2e/app-dir/underscore-ignore-app-paths/underscore-ignore-app-paths.test.ts', + 'test/e2e/app-dir/use-params/use-params.test.ts', + 'test/e2e/app-dir/use-selected-layout-segment-s/use-selected-layout-segment-s.test.ts', + 'test/e2e/app-dir/with-exported-function-config/with-exported-function-config.test.ts', + 'test/e2e/basepath.test.ts', + 'test/e2e/browserslist-extends/index.test.ts', + 'test/e2e/cancel-request/stream-cancel.test.ts', + 'test/e2e/children-page/index.test.ts', + 'test/e2e/config-promise-export/async-function.test.ts', + 'test/e2e/config-promise-export/promise.test.ts', + 'test/e2e/conflicting-app-page-error/index.test.ts', + 'test/e2e/disable.js', 'test/e2e/dynamic-route-interpolation/index.test.ts', + 'test/e2e/edge-api-endpoi.ts', + 'test/e2e/edge-async-local-storage/index.test.ts', + 'test/e2e/edge-can-read-request-body/index.test.ts', + 'test/e2e/edge-compiler-module-expo.ts', + 'test/e2e/edge-configurable-runtime/index.test.ts', + 'test/e2e/edge-pages-support/index.test.ts', + 'test/e2e/favicon-short-circuit/favicon-short-circuit.test.ts', + 'test/e2e/getserversideprops/test/index.test.ts', + 'test/e2e/handle-non-hoisted-swc-helpers/index.test.ts', + 'test/e2e/hello-world/hello-world.test.ts', 'test/e2e/i18n-api-support/index.test.ts', + 'test/e2e/i18n-default-locale-redirect/i18n-default-locale-redirect.test.ts', + 'test/e2e/i18n-disallow-multiple-locales/i18n-disallow-multiple-locales.test.ts', + 'test/e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts', + 'test/e2e/i18n-ignore-rewrite-source-locale/rewrites.test.ts', + 'test/e2e/ignore-invalid-popstateevent/with-i18n.test.ts', + 'test/e2e/ignore-invalid-popstateevent/without-i18n.test.ts', + 'test/e2e/instrumentation-hook-src/instrumentation-hook-src.test.ts', + 'test/e2e/link-with-api-rewrite/index.test.ts', + 'test/e2e/manual-client-base-path/index.test.ts', + 'test/e2e/middleware-base-path/test/index.test.ts', + 'test/e2e/middleware-custom-matchers-basepath/test/index.test.ts', + 'test/e2e/middleware-custom-matchers-i18n/test/index.test.ts', + 'test/e2e/middleware-custom-matchers/test/index.test.ts', + 'test/e2e/middleware-dynamic-basepath-matcher/test/index.test.ts', 'test/e2e/middleware-fetches-with-body/index.test.ts', + 'test/e2e/middleware-general/test/index.test.ts', + 'test/e2e/middleware-matcher/index.test.ts', + 'test/e2e/middleware-redirects/test/index.test.ts', + 'test/e2e/new-link-behavior/child-a-tag-error.test.ts', + 'test/e2e/new-link-behavior/index.test.ts', + 'test/e2e/new-link-behavior/material-ui.test.ts', + 'test/e2e/new-link-behavior/stitches.test.ts', + 'test/e2e/new-link-behavior/typescript.test.ts', + 'test/e2e/next-font/index.test.ts', + 'test/e2e/next-font/without-preloaded-fonts.test.ts', 'test/e2e/next-head/index.test.ts', + 'test/e2e/next-image-forward-ref/index.test.ts', + 'test/e2e/next-script/index.test.ts', + 'test/e2e/no-eslint-warn-with-no-eslint-config/index.test.ts', 'test/e2e/nonce-head-manager/index.test.ts', + 'test/e2e/og-api/index.test.ts', + 'test/e2e/optimized-loading/test/index.test.ts', + 'test/e2e/pages-performance-mark/index.test.ts', + 'test/e2e/postcss-config-cjs/index.test.ts', + 'test/e2e/prerender-crawler.test.ts', + 'test/e2e/prerender-native-module.test.ts', + 'test/e2e/prerender.test.ts', + 'test/e2e/proxy-request-with-middleware/test/index.test.ts', + 'test/e2e/repeated-forward-slashes-error/repeated-forward-slashes-error.test.ts', + 'test/e2e/skip-trailing-slash-redirect/index.test.ts', 'test/e2e/ssr-react-context/index.test.ts', + 'test/e2e/streaming-ssr/index.test.ts', + 'test/e2e/styled-jsx/index.test.ts', + 'test/e2e/swc-warnings/index.test.ts', + 'test/e2e/switchable-runtime/index.test.ts', + 'test/e2e/test-template/{{ toFileName name }}/{{ toFileName name }}.test.ts', + 'test/e2e/test-utils-tests/basic/basic.test.ts', + 'test/e2e/third-parties/index.test.ts', + 'test/e2e/trailingslash-with-rewrite/index.test.ts', 'test/e2e/transpile-packages/index.test.ts', 'test/e2e/type-module-interop/index.test.ts', + 'test/e2e/typescript-version-no-warning/typescript-version-no-warning.test.ts', + 'test/e2e/typescript-version-warning/typescript-version-warning.test.ts', 'test/e2e/undici-fetch/index.test.ts', - 'test/integration/bigint/test/index.test.js', - 'test/e2e/styled-jsx/index.test.ts', - // TODO: re-enable once the logging is aligned - // 'test/integration/middleware-basic/test/index.test.js', + 'test/integration/500-page/test/index.test.js', + 'test/integration/app-dir-export/test/dynamicpage-dev.test.ts', + 'test/integration/app-document-remove-hmr/test/index.test.js', + 'test/integration/app-document-style-fragment/test/index.test.js', + 'test/integration/build-warnings/test/index.test.js', + 'test/integration/catches-missing-getStaticProps/test/index.test.js', + 'test/integration/clean-distdir/test/index.test.js', + 'test/integration/cli/test/index.test.js', + 'test/integration/client-404/test/index.test.js', + 'test/integration/client-navigation-a11y/test/index.test.js', + 'test/integration/client-navigation/test/index.test.js', + 'test/integration/client-shallow-routing/test/index.test.js', + 'test/integration/compression/test/index.test.js', + 'test/integration/config-experimental-warning/test/index.test.js', + 'test/integration/config-mjs/test/index.test.js', + 'test/integration/config-output-export/test/index.test.ts', + 'test/integration/config-schema-check/test/index.test.js', + 'test/integration/config-syntax-error/test/index.test.js', + 'test/integration/config-validation/test/index.test.ts', + 'test/integration/config/test/index.test.js', + 'test/integration/conflicting-public-file-page/test/index.test.js', + 'test/integration/conflicting-ssg-paths/test/index.test.js', + 'test/integration/create-next-app/index.test.ts', + 'test/integration/create-next-app/package-manager.test.ts', + 'test/integration/create-next-app/templates-app.test.ts', + 'test/integration/create-next-app/templates-pages.test.ts', + 'test/integration/critical-css/test/index.test.js', + 'test/integration/css-client-nav/test/index.test.js', + 'test/integration/css-modules/test/index.test.js', + 'test/integration/css/test/css-and-styled-jsx.test.js', + 'test/integration/css/test/css-compilation.test.js', + 'test/integration/css/test/css-modules.test.js', + 'test/integration/css/test/css-rendering.test.js', + 'test/integration/css/test/dev-css-handling.test.js', + 'test/integration/custom-error/test/index.test.js', + 'test/integration/custom-routes-catchall/test/index.test.js', + 'test/integration/custom-routes-i18n-index-redirect/test/index.test.js', + 'test/integration/dynamic-routing/test/middleware.test.js', + 'test/integration/edge-runtime-module-errors/test/module-imports.test.js', + 'test/integration/edge-runtime-response-error/test/index.test.js', + 'test/integration/edge-runtime-streaming-error/test/index.test.ts', + 'test/integration/edge-runtime-with-node.js', + 'test/integration/empty-object-getInitialProps/test/index.test.js', + 'test/integration/empty-project/test/index.test.js', + 'test/integration/env-config/test/index.test.js', + 'test/integration/error-in-error/test/index.test.js', + 'test/integration/eslint/test/next-build.test.js', + 'test/integration/eslint/test/next-lint.test.js', + 'test/integration/fetch-polyfill/test/index.test.js', + 'test/integration/file-serving/test/index.test.js', + 'test/integration/filesystempublicroutes/test/index.test.js', + 'test/integration/firebase-grpc/test/index.test.js', + 'test/integration/font-optimization/test/index.test.js', + 'test/integration/future/test/index.test.js', + 'test/integration/getinitialprops/test/index.test.js', + 'test/integration/getserversideprops-export-error/test/index.test.js', + 'test/integration/getserversideprops-preview/test/index.test.js', + 'test/integration/gip-identifier/test/index.test.js', + 'test/integration/gsp-build-errors/test/index.test.js', + 'test/integration/gsp-extension/test/index.test.js', + 'test/integration/gssp-pageProps-merge/test/index.test.js', + 'test/integration/gssp-redirect-base-path/test/index.test.js', + 'test/integration/gssp-redirect-with-rewrites/test/index.test.js', + 'test/integration/gssp-redirect/test/index.test.js', + 'test/integration/handles-export-errors/test/index.test.js', + 'test/integration/hashbang/test/index.test.js', + 'test/integration/hydration/test/index.test.js', + 'test/integration/i18n-support-base-path/test/index.test.js', + 'test/integration/i18n-support-catchall/test/index.test.js', + 'test/integration/i18n-support-custom-error/test/index.test.js', + 'test/integration/i18n-support-index-rewrite/test/index.test.js', + 'test/integration/i18n-support-same-page-hash-change/test/index.test.js', + 'test/integration/i18n-support/test/index.test.js', + 'test/integration/image-optimizer/test/content-disposition-type.test.ts', + 'test/integration/image-optimizer/test/index.test.ts', + 'test/integration/image-optimizer/test/sharp.test.ts', + 'test/integration/image-optimizer/test/squoosh.test.ts', + 'test/integration/import-assertion/test/index.test.js', + 'test/integration/index-index/test/index.test.js', + 'test/integration/middleware-dev-errors/test/index.test.js', + 'test/integration/middleware-overrides-node.js', + 'test/integration/middleware-src/test/index.test.js', + 'test/integration/missing-document-component-error/test/index.test.js', + 'test/integration/mixed-ssg-serverprops-error/test/index.test.js', + 'test/integration/next-dynamic-css/test/index.test.js', + 'test/integration/next-image-legacy/asset-prefix/test/index.test.ts', + 'test/integration/next-image-legacy/base-path/test/index.test.ts', + 'test/integration/next-image-legacy/basic/test/index.test.ts', + 'test/integration/next-image-legacy/custom-resolver/test/index.test.ts', + 'test/integration/next-image-legacy/default/test/index.test.ts', + 'test/integration/next-image-legacy/no-intersection-observer-fallback/test/index.test.ts', + 'test/integration/next-image-legacy/noscript/test/index.test.ts', + 'test/integration/next-image-legacy/react-virtualized/test/index.test.ts', + 'test/integration/next-image-legacy/typescript/test/index.test.ts', + 'test/integration/next-image-legacy/unoptimized/test/index.test.ts', + 'test/integration/next-image-new/app-dir/test/index.test.ts', + 'test/integration/next-image-new/asset-prefix/test/index.test.js', + 'test/integration/next-image-new/base-path/test/index.test.js', + 'test/integration/next-image-new/both-basepath-trailingslash/test/index.test.ts', + 'test/integration/next-image-new/default/test/index.test.ts', + 'test/integration/next-image-new/loader-config-default-loader-with-file/test/index.test.ts', + 'test/integration/next-image-new/middleware/test/index.test.ts', + 'test/integration/next-image-new/react-virtualized/test/index.test.ts', + 'test/integration/ondemand/test/index.test.js', + 'test/integration/optional-chaining-nullish-coalescing/test/index.test.js', + 'test/integration/page-config/test/index.test.js', + 'test/integration/page-extensions/test/index.test.js', + 'test/integration/plugin-mdx-rs/test/index.test.js', + 'test/integration/polyfills/test/index.test.js', + 'test/integration/port-env-var/test/index.test.js', + 'test/integration/preload-viewport/test/index.test.js', + 'test/integration/prerender-fallback-encoding/test/index.test.js', + 'test/integration/prerender-invalid-catchall-params/test/index.test.js', + 'test/integration/prerender-invalid-paths/test/index.test.js', + 'test/integration/prerender-legacy/test/index.test.js', + 'test/integration/prerender-no-revalidate/test/index.test.js', + 'test/integration/prerender-preview/test/index.test.js', + 'test/integration/prerender-revalidate/test/index.test.js', + 'test/integration/prerender/test/index.test.js', + 'test/integration/preview-fallback/test/index.test.js', + 'test/integration/production-browser-sourcemaps/test/index.test.js', + 'test/integration/production-build-dir/test/index.test.js', + 'test/integration/production-config/test/index.test.js', + 'test/integration/production-start-no-build/test/index.test.js', + 'test/integration/query-with-encoding/test/index.test.js', + 'test/integration/react-18/test/index.test.js', + 'test/integration/react-profiling-mode/test/index.test.js', + 'test/integration/react-streaming/test/index.test.js', + 'test/integration/read-only-source-hmr/test/index.test.js', + 'test/integration/relay-analytics-disabled/test/index.test.js', + 'test/integration/relay-analytics/test/index.test.js', + 'test/integration/relay-graphql-swc-single-project/test/index.test.js', + 'test/integration/repeated-slashes/test/index.test.js', + 'test/integration/revalidate-as-path/test/index.test.js', + 'test/integration/rewrites-client-resolving/test/index.test.js', + 'test/integration/rewrites-destination-query-array/test/index.test.js', + 'test/integration/root-optional-revalidate/test/index.test.js', + 'test/integration/route-index/test/index.test.js', + 'test/integration/route-indexes/test/index.test.js', + 'test/integration/route-load-cancel/test/index.test.js', + 'test/integration/router-hash-navigation/test/index.test.js', + 'test/integration/router-is-ready-app-gip/test/index.test.js', + 'test/integration/router-is-ready/test/index.test.js', + 'test/integration/router-prefetch/test/index.test.js', + 'test/integration/router-rerender/test/index.test.js', + 'test/integration/scss-modules/test/basic-scss.test.js', + 'test/integration/scss-modules/test/dynamic-route.test.js', + 'test/integration/scss/test/basic-global-support.test.js', + 'test/integration/scss/test/basic-scss.test.js', + 'test/integration/scss/test/css-and-styled-jsx.test.js', + 'test/integration/scss/test/dev-css-handling.test.js', + 'test/integration/src-dir-support-double-dir/test/index.test.js', + 'test/integration/src-dir-support/test/index.test.js', + 'test/integration/ssg-data-404/test/index.test.js', + 'test/integration/ssg-dynamic-routes-404-page/test/index.test.js', + 'test/integration/static-404/test/index.test.js', + 'test/integration/static-page-name/test/index.test.js', + 'test/integration/telemetry/test/config.test.js', + 'test/integration/telemetry/test/index.test.js', + 'test/integration/telemetry/test/page-features.test.js', + 'test/integration/trailing-slash-dist/test/index.test.js', + 'test/integration/trailing-slashes-href-resolving/test/index.test.js', + 'test/integration/webpack-config-mainjs/test/index.test.js', + 'test/integration/with-electron/test/index.test.js', + 'test/integration/with-router/test/index.test.js', + 'test/production/app-dir-hide-suppressed-error-during-next-export/index.test.ts', + 'test/production/app-dir-prefetch-non-iso-url/index.test.ts', + 'test/production/disable-fallback-polyfills/index.test.ts', + 'test/production/edge-safe-dynamic-code/index.test.ts', + 'test/production/emit-decorator-metadata/index.test.ts', + 'test/production/enoent-during-require/index.test.ts', + 'test/production/eslint-plugin-deps/index.test.ts', + 'test/production/export/index.test.ts', + 'test/production/exported-runtimes-value-validation/index.test.ts', + 'test/production/fallback-export-error/index.test.ts', + 'test/production/fatal-render-errror/index.test.ts', + 'test/production/generate-middleware-source-maps/index.test.ts', + 'test/production/handle-already-sent-response/handle-already-sent-response.test.ts', + 'test/production/ipc-forbidden-headers/ipc-forbidden-headers.test.ts', + 'test/production/jest/new-link-behavior.test.ts', + 'test/production/jest/next-image-preload/next-image-preload.test.ts', + 'test/production/jest/rsc/lib/utils.test.js', + 'test/production/jest/transpile-packages.test.ts', + 'test/production/postcss-plugin-config-as-string/index.test.ts', + 'test/production/prerender-prefetch/index.test.ts', + 'test/production/suppo.ts', + 'test/production/typescript-basic/index.test.ts', + 'test/unit/accept-headers.test.ts', + 'test/unit/babel-plugin-next-page-config.test.ts', + 'test/unit/babel-plugin-next-ssg-transform.test.ts', + 'test/unit/cssnano-simple/cssnano-preset-simple/issue-1.test.ts', + 'test/unit/cssnano-simple/cssnano-preset-simple/plugin-config.test.ts', + 'test/unit/cssnano-simple/cssnano-preset-simple/property-sorting.test.ts', + 'test/unit/cssnano-simple/cssnano-simple/basic.test.ts', + 'test/unit/cssnano-simple/cssnano-simple/exclude-all.test.ts', + 'test/unit/cssnano-simple/cssnano-simple/plugin-config.test.ts', + 'test/unit/eslint-plugin-next/google-font-display.test.ts', + 'test/unit/eslint-plugin-next/google-font-preconnect.test.ts', + 'test/unit/eslint-plugin-next/index.test.ts', + 'test/unit/eslint-plugin-next/inline-script-id.test.ts', + 'test/unit/eslint-plugin-next/next-script-for-ga.test.ts', + 'test/unit/eslint-plugin-next/no-assign-module-variable.test.ts', + 'test/unit/eslint-plugin-next/no-async-client-component.test.ts', + 'test/unit/eslint-plugin-next/no-before-interactive-script-outside-document.test.ts', + 'test/unit/eslint-plugin-next/no-css-tags.test.ts', + 'test/unit/eslint-plugin-next/no-document-import-in-page.test.ts', + 'test/unit/eslint-plugin-next/no-duplicate-head.test.ts', + 'test/unit/eslint-plugin-next/no-head-element.test.ts', + 'test/unit/eslint-plugin-next/no-head-import-in-document.test.ts', + 'test/unit/eslint-plugin-next/no-html-link-for-pages.test.ts', + 'test/unit/eslint-plugin-next/no-img-element.test.ts', + 'test/unit/eslint-plugin-next/no-page-custom-font.test.ts', + 'test/unit/eslint-plugin-next/no-script-component-in-head.test.ts', + 'test/unit/eslint-plugin-next/no-styled.jsx', + 'test/unit/eslint-plugin-next/no-sync-scripts.test.ts', + 'test/unit/eslint-plugin-next/no-title-in-document-head.test.ts', + 'test/unit/eslint-plugin-next/no-typos.test.ts', + 'test/unit/eslint-plugin-next/no-unwanted-polyfillio.test.ts', + 'test/unit/esm-interpolate/esm-interpolate.test.tsx', + 'test/unit/find-config.test.ts', + 'test/unit/find-page-file.test.ts', + 'test/unit/get-node-options-without-inspect.test.ts', + 'test/unit/get-page-static-infos.test.ts', + 'test/unit/get-project-dir.test.ts', + 'test/unit/getDisplayName.test.ts', + 'test/unit/htmlescape.test.ts', + 'test/unit/image-optimizer/detect-content-type.test.ts', + 'test/unit/image-optimizer/get-max-age.test.ts', + 'test/unit/image-optimizer/match-remote-pattern.test.ts', + 'test/unit/incremental-cache/file-system-cache.test.ts', + 'test/unit/infer-get-server-side-props-type.test.ts', + 'test/unit/infer-get-static-props.test.ts', + 'test/unit/is-equal-node.unit.test.ts', + 'test/unit/is-serializable-props.test.ts', + 'test/unit/isolated/config.test.ts', + 'test/unit/isolated/require-page.test.ts', + 'test/unit/jest-next-swc.test.ts', + 'test/unit/link-rendering.test.ts', + 'test/unit/link-warnings.test.tsx', + 'test/unit/loadGetInitialProps.test.ts', + 'test/unit/mitt.test.ts', + 'test/unit/next-babel-loader-dev.test.ts', + 'test/unit/next-babel-loader-prod.test.ts', + 'test/unit/next-babel.test.ts', + 'test/unit/next-dynamic.test.tsx', + 'test/unit/next-head-rendering.test.ts', + 'test/unit/next-image-get-img-props.test.ts', + 'test/unit/next-image-legacy.test.ts', + 'test/unit/next-image-loader/get-blur-image.test.ts', + 'test/unit/next-image-new.test.ts', + 'test/unit/next-server-utils.test.ts', + 'test/unit/next-swc.test.ts', + 'test/unit/oxford-comma.test.ts', + 'test/unit/page-route-sorter.test.ts', + 'test/unit/parse-page-static-info.test.ts', + 'test/unit/parse-relative-url.test.ts', + 'test/unit/phaseConstants.test.ts', + 'test/unit/preserve-process-env.test.ts', + 'test/unit/recursive-copy.test.ts', + 'test/unit/recursive-delete.test.ts', + 'test/unit/recursive-readdir.test.ts', + 'test/unit/router-add-base-path.test.ts', + 'test/unit/split-cookies-string.test.ts', + 'test/unit/validate-url.test.ts', + 'test/unit/warn-removed-experimental-config.test.ts', + 'test/unit/web-runtime/next-request.test.ts', + 'test/unit/web-runtime/next-response-cookies.test.ts', + 'test/unit/web-runtime/next-response.test.ts', + 'test/unit/web-runtime/next-server-node.test.ts', + 'test/unit/web-runtime/next-url.test.ts', + 'test/unit/web-runtime/user-agent.test.ts', + 'test/unit/webpack-config-overrides.test.ts', + 'test/unit/write-app-declarations.test.ts', ] module.exports = { enabledTests } From 9d5624e0b54433a295dbd6a0f355c78c0ed7c229 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Thu, 7 Sep 2023 08:33:17 +0000 Subject: [PATCH 2/4] use more concurrency --- .github/workflows/build_and_test.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 696817a754302..76b1b9b8ec87d 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -127,10 +127,14 @@ jobs: test-turbopack-dev: name: test turbopack dev needs: ['build-native', 'build-next'] + strategy: + fail-fast: false + matrix: + group: [1, 2, 3, 4, 5] uses: ./.github/workflows/build_reusable.yml with: skipForDocsOnly: 'yes' - afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.js" TURBOPACK=1 NEXT_E2E_TEST_TIMEOUT=240000 NEXT_TEST_MODE=dev node run-tests.js --test-pattern '^(test\/development)/.*\.test\.(js|jsx|ts|tsx)$' --timings -c ${TEST_CONCURRENCY} + afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.js" TURBOPACK=1 NEXT_E2E_TEST_TIMEOUT=240000 NEXT_TEST_MODE=dev node run-tests.js --test-pattern '^(test\/development)/.*\.test\.(js|jsx|ts|tsx)$' --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} secrets: inherit test-turbopack-integration: @@ -139,13 +143,12 @@ jobs: strategy: fail-fast: false matrix: - group: [1] - + group: [1, 2, 3, 4, 5] uses: ./.github/workflows/build_reusable.yml with: nodeVersion: 16 skipForDocsOnly: 'yes' - afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.js" TURBOPACK=1 node run-tests.js --timings -g ${{ matrix.group }}/1 -c ${TEST_CONCURRENCY} --type integration + afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.js" TURBOPACK=1 node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --type integration secrets: inherit test-next-swc-wasm: From 3f98d36144a35d5794c95bc31c10379b6b54e8cc Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Thu, 7 Sep 2023 08:34:56 +0000 Subject: [PATCH 3/4] disable unit tests --- test/turbopack-tests-manifest.js | 86 -------------------------------- 1 file changed, 86 deletions(-) diff --git a/test/turbopack-tests-manifest.js b/test/turbopack-tests-manifest.js index 142fe347b475d..4d4e3ae889c48 100644 --- a/test/turbopack-tests-manifest.js +++ b/test/turbopack-tests-manifest.js @@ -387,92 +387,6 @@ const enabledTests = [ 'test/production/prerender-prefetch/index.test.ts', 'test/production/suppo.ts', 'test/production/typescript-basic/index.test.ts', - 'test/unit/accept-headers.test.ts', - 'test/unit/babel-plugin-next-page-config.test.ts', - 'test/unit/babel-plugin-next-ssg-transform.test.ts', - 'test/unit/cssnano-simple/cssnano-preset-simple/issue-1.test.ts', - 'test/unit/cssnano-simple/cssnano-preset-simple/plugin-config.test.ts', - 'test/unit/cssnano-simple/cssnano-preset-simple/property-sorting.test.ts', - 'test/unit/cssnano-simple/cssnano-simple/basic.test.ts', - 'test/unit/cssnano-simple/cssnano-simple/exclude-all.test.ts', - 'test/unit/cssnano-simple/cssnano-simple/plugin-config.test.ts', - 'test/unit/eslint-plugin-next/google-font-display.test.ts', - 'test/unit/eslint-plugin-next/google-font-preconnect.test.ts', - 'test/unit/eslint-plugin-next/index.test.ts', - 'test/unit/eslint-plugin-next/inline-script-id.test.ts', - 'test/unit/eslint-plugin-next/next-script-for-ga.test.ts', - 'test/unit/eslint-plugin-next/no-assign-module-variable.test.ts', - 'test/unit/eslint-plugin-next/no-async-client-component.test.ts', - 'test/unit/eslint-plugin-next/no-before-interactive-script-outside-document.test.ts', - 'test/unit/eslint-plugin-next/no-css-tags.test.ts', - 'test/unit/eslint-plugin-next/no-document-import-in-page.test.ts', - 'test/unit/eslint-plugin-next/no-duplicate-head.test.ts', - 'test/unit/eslint-plugin-next/no-head-element.test.ts', - 'test/unit/eslint-plugin-next/no-head-import-in-document.test.ts', - 'test/unit/eslint-plugin-next/no-html-link-for-pages.test.ts', - 'test/unit/eslint-plugin-next/no-img-element.test.ts', - 'test/unit/eslint-plugin-next/no-page-custom-font.test.ts', - 'test/unit/eslint-plugin-next/no-script-component-in-head.test.ts', - 'test/unit/eslint-plugin-next/no-styled.jsx', - 'test/unit/eslint-plugin-next/no-sync-scripts.test.ts', - 'test/unit/eslint-plugin-next/no-title-in-document-head.test.ts', - 'test/unit/eslint-plugin-next/no-typos.test.ts', - 'test/unit/eslint-plugin-next/no-unwanted-polyfillio.test.ts', - 'test/unit/esm-interpolate/esm-interpolate.test.tsx', - 'test/unit/find-config.test.ts', - 'test/unit/find-page-file.test.ts', - 'test/unit/get-node-options-without-inspect.test.ts', - 'test/unit/get-page-static-infos.test.ts', - 'test/unit/get-project-dir.test.ts', - 'test/unit/getDisplayName.test.ts', - 'test/unit/htmlescape.test.ts', - 'test/unit/image-optimizer/detect-content-type.test.ts', - 'test/unit/image-optimizer/get-max-age.test.ts', - 'test/unit/image-optimizer/match-remote-pattern.test.ts', - 'test/unit/incremental-cache/file-system-cache.test.ts', - 'test/unit/infer-get-server-side-props-type.test.ts', - 'test/unit/infer-get-static-props.test.ts', - 'test/unit/is-equal-node.unit.test.ts', - 'test/unit/is-serializable-props.test.ts', - 'test/unit/isolated/config.test.ts', - 'test/unit/isolated/require-page.test.ts', - 'test/unit/jest-next-swc.test.ts', - 'test/unit/link-rendering.test.ts', - 'test/unit/link-warnings.test.tsx', - 'test/unit/loadGetInitialProps.test.ts', - 'test/unit/mitt.test.ts', - 'test/unit/next-babel-loader-dev.test.ts', - 'test/unit/next-babel-loader-prod.test.ts', - 'test/unit/next-babel.test.ts', - 'test/unit/next-dynamic.test.tsx', - 'test/unit/next-head-rendering.test.ts', - 'test/unit/next-image-get-img-props.test.ts', - 'test/unit/next-image-legacy.test.ts', - 'test/unit/next-image-loader/get-blur-image.test.ts', - 'test/unit/next-image-new.test.ts', - 'test/unit/next-server-utils.test.ts', - 'test/unit/next-swc.test.ts', - 'test/unit/oxford-comma.test.ts', - 'test/unit/page-route-sorter.test.ts', - 'test/unit/parse-page-static-info.test.ts', - 'test/unit/parse-relative-url.test.ts', - 'test/unit/phaseConstants.test.ts', - 'test/unit/preserve-process-env.test.ts', - 'test/unit/recursive-copy.test.ts', - 'test/unit/recursive-delete.test.ts', - 'test/unit/recursive-readdir.test.ts', - 'test/unit/router-add-base-path.test.ts', - 'test/unit/split-cookies-string.test.ts', - 'test/unit/validate-url.test.ts', - 'test/unit/warn-removed-experimental-config.test.ts', - 'test/unit/web-runtime/next-request.test.ts', - 'test/unit/web-runtime/next-response-cookies.test.ts', - 'test/unit/web-runtime/next-response.test.ts', - 'test/unit/web-runtime/next-server-node.test.ts', - 'test/unit/web-runtime/next-url.test.ts', - 'test/unit/web-runtime/user-agent.test.ts', - 'test/unit/webpack-config-overrides.test.ts', - 'test/unit/write-app-declarations.test.ts', ] module.exports = { enabledTests } From 7e172d8abfb183b46a7eb45ee102fe5d656ed94f Mon Sep 17 00:00:00 2001 From: OJ Kwon <1210596+kwonoj@users.noreply.github.com> Date: Thu, 7 Sep 2023 12:22:37 -0700 Subject: [PATCH 4/4] test(manifests): update list --- test/turbopack-tests-manifest.js | 251 ------------------------------- 1 file changed, 251 deletions(-) diff --git a/test/turbopack-tests-manifest.js b/test/turbopack-tests-manifest.js index 4d4e3ae889c48..fdae633aef0a4 100644 --- a/test/turbopack-tests-manifest.js +++ b/test/turbopack-tests-manifest.js @@ -2,33 +2,16 @@ // Only tests that are actively testing against Turbopack should // be enabled here const enabledTests = [ - 'test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts', - 'test/development/acceptance-app/ReactRefreshLogBox.test.ts', - 'test/development/acceptance-app/ReactRefreshModule.test.ts', - 'test/development/acceptance-app/ReactRefreshRequire.test.ts', - 'test/development/acceptance-app/rsc-build-errors.test.ts', 'test/development/acceptance-app/server-components.test.ts', 'test/development/acceptance/hydration-error.test.ts', - 'test/development/acceptance/ReactRefreshLogBox-builtins.test.ts', - 'test/development/acceptance/ReactRefreshLogBox.test.ts', - 'test/development/acceptance/ReactRefreshRegression.test.ts', - 'test/development/acceptance/ReactRefreshRequire.test.ts', 'test/development/api-cors-with-rewrite/index.test.ts', 'test/development/app-dir/multiple-compiles-single-route/multiple-compiles-single-route.test.ts', 'test/development/app-dir/strict-mode-enabled-by-default/strict-mode-enabled-by-default.test.ts', - 'test/development/app-hmr/hmr.test.ts', - 'test/development/basic/barrel-optimization.test.ts', 'test/development/basic/define-class-fields.test.ts', 'test/development/basic/emotion-swc.test.ts', - 'test/development/basic/gssp-ssr-change-reloading/test/index.test.ts', - 'test/development/basic/hmr.test.ts', 'test/development/basic/legacy-decorators.test.ts', 'test/development/basic/misc.test.ts', - 'test/development/basic/next-dynamic.test.ts', 'test/development/basic/next-rs-api.test.ts', - 'test/development/basic/node-builtins.test.ts', - 'test/development/basic/styled-components.test.ts', - 'test/development/basic/tailwind-jit.test.ts', 'test/development/basic/theme-ui.test.ts', 'test/development/client-dev-overlay/index.test.ts', 'test/development/correct-tsconfig-defaults/index.test.ts', @@ -45,35 +28,16 @@ const enabledTests = [ 'test/development/typescript-auto-install/index.test.ts', 'test/development/watch-config-file/index.test.ts', 'test/e2e/404-page-router/index.test.ts', - 'test/e2e/app-dir//allow-underscored-root-directory//allow-underscored-root-directory.test.ts', 'test/e2e/app-dir/actions/app-action-export.test.ts', 'test/e2e/app-dir/actions/app-action-invalid.test.ts', 'test/e2e/app-dir/actions/app-action-size-limit-invalid.test.ts', - 'test/e2e/app-dir/app-a11y/index.test.ts', - 'test/e2e/app-dir/app-alias/app-alias.test.ts', - 'test/e2e/app-dir/app-basepath/index.test.ts', - 'test/e2e/app-dir/app-client-cache/client-cache.test.ts', - 'test/e2e/app-dir/app-compilation/index.test.ts', - 'test/e2e/app-dir/app-css-pageextensions/index.test.ts', - 'test/e2e/app-dir/app-css/index.test.ts', 'test/e2e/app-dir/app-edge-root-layout/index.test.ts', - 'test/e2e/app-dir/app-edge/app-edge.test.ts', - 'test/e2e/app-dir/app-external/app-external.test.ts', 'test/e2e/app-dir/app-fetch-deduping/app-fetch-deduping.test.ts', - 'test/e2e/app-dir/app-prefetch-false/app-prefetch-false.test.ts', - 'test/e2e/app-dir/app-prefetch/prefetching.test.ts', - 'test/e2e/app-dir/app-rendering/rendering.test.ts', 'test/e2e/app-dir/app-routes-trailing-slash/app-routes-trailing-slash.test.ts', - 'test/e2e/app-dir/app-routes/app-custom-route-base-path.test.ts', - 'test/e2e/app-dir/app-routes/app-custom-routes.test.ts', 'test/e2e/app-dir/app-simple-routes/app-simple-routes.test.ts', 'test/e2e/app-dir/app-static/app-fetch-logging.test.ts', 'test/e2e/app-dir/app-static/app-static-custom-cache-handler-esm.test.ts', - 'test/e2e/app-dir/app-static/app-static-custom-handler.test.ts', - 'test/e2e/app-dir/app-static/app-static.test.ts', 'test/e2e/app-dir/app-validation/validation.test.ts', - 'test/e2e/app-dir/app/index.test.ts', - 'test/e2e/app-dir/app/standalone.test.ts', 'test/e2e/app-dir/asset-prefix/asset-prefix.test.ts', 'test/e2e/app-dir/async-component-preload/async-component-preload.test.ts', 'test/e2e/app-dir/autoscroll-with-css-modules/index.test.ts', @@ -81,116 +45,60 @@ const enabledTests = [ 'test/e2e/app-dir/build-size/index.test.ts', 'test/e2e/app-dir/crypto-globally-available/crypto-globally-available.test.ts', 'test/e2e/app-dir/deopted-into-client-rendering-warning/deopted-into-client-rendering-warning.test.ts', - 'test/e2e/app-dir/draft-mode/draft-mode.test.ts', - 'test/e2e/app-dir/dynamic-href/dynamic-href.test.ts', - 'test/e2e/app-dir/dynamic/dynamic.test.ts', - 'test/e2e/app-dir/error-boundary-navigation/index.test.ts', - 'test/e2e/app-dir/error-boundary-navigation/override-node-env.test.ts', 'test/e2e/app-dir/front-redirect-issue/front-redirect-issue.test.ts', 'test/e2e/app-dir/global-error/basic/index.test.ts', 'test/e2e/app-dir/global-error/layout-error/index.test.ts', 'test/e2e/app-dir/headers-static-bailout/headers-static-bailout.test.ts', 'test/e2e/app-dir/hello-world/hello-world.test.ts', - 'test/e2e/app-dir/hooks/hooks.test.ts', 'test/e2e/app-dir/i18n-hybrid/i18n-hybrid.test.js', 'test/e2e/app-dir/import/import.test.ts', 'test/e2e/app-dir/interoperability-with-pages/navigation.test.ts', 'test/e2e/app-dir/layout-params/layout-params.test.ts', - 'test/e2e/app-dir/mdx/mdx.test.ts', 'test/e2e/app-dir/metadata-missing-metadata-base/index.test.ts', 'test/e2e/app-dir/metadata-suspense/index.test.ts', - 'test/e2e/app-dir/metadata/metadata.test.ts', 'test/e2e/app-dir/navigation/navigation.test.ts', 'test/e2e/app-dir/next-config/index.test.ts', - 'test/e2e/app-dir/not-found-default/index.test.ts', - 'test/e2e/app-dir/not-found/basic/index.test.ts', - 'test/e2e/app-dir/not-found/conflict-route/index.test.ts', 'test/e2e/app-dir/not-found/css-precedence/index.test.ts', 'test/e2e/app-dir/not-found/group-route-root-not-found/index.test.ts', - 'test/e2e/app-dir/not-found/group-route/index.test.ts', - 'test/e2e/app-dir/parallel-routes-and-interception/parallel-routes-and-interception.test.ts', 'test/e2e/app-dir/rewrites-redirects/rewrites-redirects.test.ts', 'test/e2e/app-dir/root-layout-redirect/root-layout-redirect.test.ts', - 'test/e2e/app-dir/root-layout/root-layout.test.ts', 'test/e2e/app-dir/route-page-manifest-bug/route-page-manifest-bug.test.ts', - 'test/e2e/app-dir/router-autoscroll/router-autoscroll.test.ts', 'test/e2e/app-dir/router-stuck-dynamic-static-segment/router-stuck-dynamic-static-segment.test.ts', - 'test/e2e/app-dir/rsc-basic/rsc-basic.test.ts', 'test/e2e/app-dir/search-params-react-key/layout-params.test.ts', 'test/e2e/app-dir/searchparams-static-bailout/searchparams-static-bailout.test.ts', 'test/e2e/app-dir/similar-pages-paths/similar-pages-paths.test.ts', 'test/e2e/app-dir/test-template/{{ toFileName name }}/{{ toFileName name }}.test.ts', 'test/e2e/app-dir/third-parties/basic.test.ts', - 'test/e2e/app-dir/trailingslash/trailingslash.test.ts', - 'test/e2e/app-dir/underscore-ignore-app-paths/underscore-ignore-app-paths.test.ts', 'test/e2e/app-dir/use-params/use-params.test.ts', 'test/e2e/app-dir/use-selected-layout-segment-s/use-selected-layout-segment-s.test.ts', 'test/e2e/app-dir/with-exported-function-config/with-exported-function-config.test.ts', - 'test/e2e/basepath.test.ts', 'test/e2e/browserslist-extends/index.test.ts', - 'test/e2e/cancel-request/stream-cancel.test.ts', 'test/e2e/children-page/index.test.ts', 'test/e2e/config-promise-export/async-function.test.ts', 'test/e2e/config-promise-export/promise.test.ts', - 'test/e2e/conflicting-app-page-error/index.test.ts', 'test/e2e/disable.js', 'test/e2e/dynamic-route-interpolation/index.test.ts', 'test/e2e/edge-api-endpoi.ts', - 'test/e2e/edge-async-local-storage/index.test.ts', 'test/e2e/edge-can-read-request-body/index.test.ts', 'test/e2e/edge-compiler-module-expo.ts', - 'test/e2e/edge-configurable-runtime/index.test.ts', - 'test/e2e/edge-pages-support/index.test.ts', - 'test/e2e/favicon-short-circuit/favicon-short-circuit.test.ts', - 'test/e2e/getserversideprops/test/index.test.ts', 'test/e2e/handle-non-hoisted-swc-helpers/index.test.ts', 'test/e2e/hello-world/hello-world.test.ts', 'test/e2e/i18n-api-support/index.test.ts', - 'test/e2e/i18n-default-locale-redirect/i18n-default-locale-redirect.test.ts', 'test/e2e/i18n-disallow-multiple-locales/i18n-disallow-multiple-locales.test.ts', - 'test/e2e/i18n-ignore-rewrite-source-locale/rewrites-with-basepath.test.ts', - 'test/e2e/i18n-ignore-rewrite-source-locale/rewrites.test.ts', - 'test/e2e/ignore-invalid-popstateevent/with-i18n.test.ts', - 'test/e2e/ignore-invalid-popstateevent/without-i18n.test.ts', - 'test/e2e/instrumentation-hook-src/instrumentation-hook-src.test.ts', 'test/e2e/link-with-api-rewrite/index.test.ts', - 'test/e2e/manual-client-base-path/index.test.ts', - 'test/e2e/middleware-base-path/test/index.test.ts', - 'test/e2e/middleware-custom-matchers-basepath/test/index.test.ts', - 'test/e2e/middleware-custom-matchers-i18n/test/index.test.ts', - 'test/e2e/middleware-custom-matchers/test/index.test.ts', - 'test/e2e/middleware-dynamic-basepath-matcher/test/index.test.ts', 'test/e2e/middleware-fetches-with-body/index.test.ts', - 'test/e2e/middleware-general/test/index.test.ts', - 'test/e2e/middleware-matcher/index.test.ts', - 'test/e2e/middleware-redirects/test/index.test.ts', - 'test/e2e/new-link-behavior/child-a-tag-error.test.ts', - 'test/e2e/new-link-behavior/index.test.ts', - 'test/e2e/new-link-behavior/material-ui.test.ts', - 'test/e2e/new-link-behavior/stitches.test.ts', - 'test/e2e/new-link-behavior/typescript.test.ts', - 'test/e2e/next-font/index.test.ts', - 'test/e2e/next-font/without-preloaded-fonts.test.ts', 'test/e2e/next-head/index.test.ts', 'test/e2e/next-image-forward-ref/index.test.ts', - 'test/e2e/next-script/index.test.ts', 'test/e2e/no-eslint-warn-with-no-eslint-config/index.test.ts', 'test/e2e/nonce-head-manager/index.test.ts', - 'test/e2e/og-api/index.test.ts', 'test/e2e/optimized-loading/test/index.test.ts', 'test/e2e/pages-performance-mark/index.test.ts', 'test/e2e/postcss-config-cjs/index.test.ts', 'test/e2e/prerender-crawler.test.ts', - 'test/e2e/prerender-native-module.test.ts', - 'test/e2e/prerender.test.ts', 'test/e2e/proxy-request-with-middleware/test/index.test.ts', 'test/e2e/repeated-forward-slashes-error/repeated-forward-slashes-error.test.ts', - 'test/e2e/skip-trailing-slash-redirect/index.test.ts', 'test/e2e/ssr-react-context/index.test.ts', - 'test/e2e/streaming-ssr/index.test.ts', 'test/e2e/styled-jsx/index.test.ts', - 'test/e2e/swc-warnings/index.test.ts', - 'test/e2e/switchable-runtime/index.test.ts', 'test/e2e/test-template/{{ toFileName name }}/{{ toFileName name }}.test.ts', 'test/e2e/test-utils-tests/basic/basic.test.ts', 'test/e2e/third-parties/index.test.ts', @@ -200,156 +108,17 @@ const enabledTests = [ 'test/e2e/typescript-version-no-warning/typescript-version-no-warning.test.ts', 'test/e2e/typescript-version-warning/typescript-version-warning.test.ts', 'test/e2e/undici-fetch/index.test.ts', - 'test/integration/500-page/test/index.test.js', - 'test/integration/app-dir-export/test/dynamicpage-dev.test.ts', - 'test/integration/app-document-remove-hmr/test/index.test.js', - 'test/integration/app-document-style-fragment/test/index.test.js', - 'test/integration/build-warnings/test/index.test.js', - 'test/integration/catches-missing-getStaticProps/test/index.test.js', - 'test/integration/clean-distdir/test/index.test.js', - 'test/integration/cli/test/index.test.js', - 'test/integration/client-404/test/index.test.js', - 'test/integration/client-navigation-a11y/test/index.test.js', - 'test/integration/client-navigation/test/index.test.js', - 'test/integration/client-shallow-routing/test/index.test.js', - 'test/integration/compression/test/index.test.js', - 'test/integration/config-experimental-warning/test/index.test.js', - 'test/integration/config-mjs/test/index.test.js', - 'test/integration/config-output-export/test/index.test.ts', - 'test/integration/config-schema-check/test/index.test.js', - 'test/integration/config-syntax-error/test/index.test.js', - 'test/integration/config-validation/test/index.test.ts', - 'test/integration/config/test/index.test.js', - 'test/integration/conflicting-public-file-page/test/index.test.js', - 'test/integration/conflicting-ssg-paths/test/index.test.js', - 'test/integration/create-next-app/index.test.ts', - 'test/integration/create-next-app/package-manager.test.ts', 'test/integration/create-next-app/templates-app.test.ts', 'test/integration/create-next-app/templates-pages.test.ts', - 'test/integration/critical-css/test/index.test.js', - 'test/integration/css-client-nav/test/index.test.js', - 'test/integration/css-modules/test/index.test.js', - 'test/integration/css/test/css-and-styled-jsx.test.js', - 'test/integration/css/test/css-compilation.test.js', - 'test/integration/css/test/css-modules.test.js', - 'test/integration/css/test/css-rendering.test.js', - 'test/integration/css/test/dev-css-handling.test.js', - 'test/integration/custom-error/test/index.test.js', - 'test/integration/custom-routes-catchall/test/index.test.js', 'test/integration/custom-routes-i18n-index-redirect/test/index.test.js', - 'test/integration/dynamic-routing/test/middleware.test.js', - 'test/integration/edge-runtime-module-errors/test/module-imports.test.js', - 'test/integration/edge-runtime-response-error/test/index.test.js', - 'test/integration/edge-runtime-streaming-error/test/index.test.ts', - 'test/integration/edge-runtime-with-node.js', - 'test/integration/empty-object-getInitialProps/test/index.test.js', - 'test/integration/empty-project/test/index.test.js', - 'test/integration/env-config/test/index.test.js', - 'test/integration/error-in-error/test/index.test.js', - 'test/integration/eslint/test/next-build.test.js', - 'test/integration/eslint/test/next-lint.test.js', - 'test/integration/fetch-polyfill/test/index.test.js', - 'test/integration/file-serving/test/index.test.js', - 'test/integration/filesystempublicroutes/test/index.test.js', - 'test/integration/firebase-grpc/test/index.test.js', - 'test/integration/font-optimization/test/index.test.js', - 'test/integration/future/test/index.test.js', - 'test/integration/getinitialprops/test/index.test.js', - 'test/integration/getserversideprops-export-error/test/index.test.js', - 'test/integration/getserversideprops-preview/test/index.test.js', - 'test/integration/gip-identifier/test/index.test.js', - 'test/integration/gsp-build-errors/test/index.test.js', - 'test/integration/gsp-extension/test/index.test.js', - 'test/integration/gssp-pageProps-merge/test/index.test.js', - 'test/integration/gssp-redirect-base-path/test/index.test.js', - 'test/integration/gssp-redirect-with-rewrites/test/index.test.js', - 'test/integration/gssp-redirect/test/index.test.js', - 'test/integration/handles-export-errors/test/index.test.js', - 'test/integration/hashbang/test/index.test.js', - 'test/integration/hydration/test/index.test.js', - 'test/integration/i18n-support-base-path/test/index.test.js', - 'test/integration/i18n-support-catchall/test/index.test.js', - 'test/integration/i18n-support-custom-error/test/index.test.js', - 'test/integration/i18n-support-index-rewrite/test/index.test.js', - 'test/integration/i18n-support-same-page-hash-change/test/index.test.js', - 'test/integration/i18n-support/test/index.test.js', - 'test/integration/image-optimizer/test/content-disposition-type.test.ts', - 'test/integration/image-optimizer/test/index.test.ts', - 'test/integration/image-optimizer/test/sharp.test.ts', - 'test/integration/image-optimizer/test/squoosh.test.ts', - 'test/integration/import-assertion/test/index.test.js', 'test/integration/index-index/test/index.test.js', - 'test/integration/middleware-dev-errors/test/index.test.js', - 'test/integration/middleware-overrides-node.js', - 'test/integration/middleware-src/test/index.test.js', - 'test/integration/missing-document-component-error/test/index.test.js', - 'test/integration/mixed-ssg-serverprops-error/test/index.test.js', - 'test/integration/next-dynamic-css/test/index.test.js', - 'test/integration/next-image-legacy/asset-prefix/test/index.test.ts', - 'test/integration/next-image-legacy/base-path/test/index.test.ts', - 'test/integration/next-image-legacy/basic/test/index.test.ts', - 'test/integration/next-image-legacy/custom-resolver/test/index.test.ts', - 'test/integration/next-image-legacy/default/test/index.test.ts', - 'test/integration/next-image-legacy/no-intersection-observer-fallback/test/index.test.ts', - 'test/integration/next-image-legacy/noscript/test/index.test.ts', - 'test/integration/next-image-legacy/react-virtualized/test/index.test.ts', - 'test/integration/next-image-legacy/typescript/test/index.test.ts', - 'test/integration/next-image-legacy/unoptimized/test/index.test.ts', - 'test/integration/next-image-new/app-dir/test/index.test.ts', - 'test/integration/next-image-new/asset-prefix/test/index.test.js', - 'test/integration/next-image-new/base-path/test/index.test.js', - 'test/integration/next-image-new/both-basepath-trailingslash/test/index.test.ts', - 'test/integration/next-image-new/default/test/index.test.ts', - 'test/integration/next-image-new/loader-config-default-loader-with-file/test/index.test.ts', 'test/integration/next-image-new/middleware/test/index.test.ts', 'test/integration/next-image-new/react-virtualized/test/index.test.ts', - 'test/integration/ondemand/test/index.test.js', - 'test/integration/optional-chaining-nullish-coalescing/test/index.test.js', - 'test/integration/page-config/test/index.test.js', - 'test/integration/page-extensions/test/index.test.js', - 'test/integration/plugin-mdx-rs/test/index.test.js', - 'test/integration/polyfills/test/index.test.js', - 'test/integration/port-env-var/test/index.test.js', - 'test/integration/preload-viewport/test/index.test.js', - 'test/integration/prerender-fallback-encoding/test/index.test.js', - 'test/integration/prerender-invalid-catchall-params/test/index.test.js', - 'test/integration/prerender-invalid-paths/test/index.test.js', - 'test/integration/prerender-legacy/test/index.test.js', - 'test/integration/prerender-no-revalidate/test/index.test.js', - 'test/integration/prerender-preview/test/index.test.js', - 'test/integration/prerender-revalidate/test/index.test.js', - 'test/integration/prerender/test/index.test.js', - 'test/integration/preview-fallback/test/index.test.js', - 'test/integration/production-browser-sourcemaps/test/index.test.js', - 'test/integration/production-build-dir/test/index.test.js', - 'test/integration/production-config/test/index.test.js', - 'test/integration/production-start-no-build/test/index.test.js', - 'test/integration/query-with-encoding/test/index.test.js', - 'test/integration/react-18/test/index.test.js', - 'test/integration/react-profiling-mode/test/index.test.js', - 'test/integration/react-streaming/test/index.test.js', - 'test/integration/read-only-source-hmr/test/index.test.js', - 'test/integration/relay-analytics-disabled/test/index.test.js', - 'test/integration/relay-analytics/test/index.test.js', - 'test/integration/relay-graphql-swc-single-project/test/index.test.js', - 'test/integration/repeated-slashes/test/index.test.js', 'test/integration/revalidate-as-path/test/index.test.js', - 'test/integration/rewrites-client-resolving/test/index.test.js', 'test/integration/rewrites-destination-query-array/test/index.test.js', 'test/integration/root-optional-revalidate/test/index.test.js', 'test/integration/route-index/test/index.test.js', 'test/integration/route-indexes/test/index.test.js', - 'test/integration/route-load-cancel/test/index.test.js', - 'test/integration/router-hash-navigation/test/index.test.js', - 'test/integration/router-is-ready-app-gip/test/index.test.js', - 'test/integration/router-is-ready/test/index.test.js', - 'test/integration/router-prefetch/test/index.test.js', - 'test/integration/router-rerender/test/index.test.js', - 'test/integration/scss-modules/test/basic-scss.test.js', - 'test/integration/scss-modules/test/dynamic-route.test.js', - 'test/integration/scss/test/basic-global-support.test.js', - 'test/integration/scss/test/basic-scss.test.js', - 'test/integration/scss/test/css-and-styled-jsx.test.js', 'test/integration/scss/test/dev-css-handling.test.js', 'test/integration/src-dir-support-double-dir/test/index.test.js', 'test/integration/src-dir-support/test/index.test.js', @@ -357,36 +126,16 @@ const enabledTests = [ 'test/integration/ssg-dynamic-routes-404-page/test/index.test.js', 'test/integration/static-404/test/index.test.js', 'test/integration/static-page-name/test/index.test.js', - 'test/integration/telemetry/test/config.test.js', - 'test/integration/telemetry/test/index.test.js', - 'test/integration/telemetry/test/page-features.test.js', 'test/integration/trailing-slash-dist/test/index.test.js', 'test/integration/trailing-slashes-href-resolving/test/index.test.js', - 'test/integration/webpack-config-mainjs/test/index.test.js', - 'test/integration/with-electron/test/index.test.js', - 'test/integration/with-router/test/index.test.js', 'test/production/app-dir-hide-suppressed-error-during-next-export/index.test.ts', 'test/production/app-dir-prefetch-non-iso-url/index.test.ts', - 'test/production/disable-fallback-polyfills/index.test.ts', - 'test/production/edge-safe-dynamic-code/index.test.ts', - 'test/production/emit-decorator-metadata/index.test.ts', - 'test/production/enoent-during-require/index.test.ts', - 'test/production/eslint-plugin-deps/index.test.ts', - 'test/production/export/index.test.ts', - 'test/production/exported-runtimes-value-validation/index.test.ts', - 'test/production/fallback-export-error/index.test.ts', - 'test/production/fatal-render-errror/index.test.ts', - 'test/production/generate-middleware-source-maps/index.test.ts', - 'test/production/handle-already-sent-response/handle-already-sent-response.test.ts', - 'test/production/ipc-forbidden-headers/ipc-forbidden-headers.test.ts', 'test/production/jest/new-link-behavior.test.ts', 'test/production/jest/next-image-preload/next-image-preload.test.ts', 'test/production/jest/rsc/lib/utils.test.js', 'test/production/jest/transpile-packages.test.ts', 'test/production/postcss-plugin-config-as-string/index.test.ts', - 'test/production/prerender-prefetch/index.test.ts', 'test/production/suppo.ts', - 'test/production/typescript-basic/index.test.ts', ] module.exports = { enabledTests }