diff --git a/test/e2e/edge-api-endpoints-can-receive-body/index.test.ts b/test/e2e/edge-api-endpoints-can-receive-body/index.test.ts index c33d6b1056856..93c049001ba37 100644 --- a/test/e2e/edge-api-endpoints-can-receive-body/index.test.ts +++ b/test/e2e/edge-api-endpoints-can-receive-body/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { fetchViaHTTP } from 'next-test-utils' import path from 'path' diff --git a/test/e2e/edge-can-read-request-body/index.test.ts b/test/e2e/edge-can-read-request-body/index.test.ts index 9b132366c03e0..347ccce75cfe0 100644 --- a/test/e2e/edge-can-read-request-body/index.test.ts +++ b/test/e2e/edge-can-read-request-body/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { fetchViaHTTP, renderViaHTTP } from 'next-test-utils' import path from 'path' import type { Response } from 'node-fetch' diff --git a/test/e2e/edge-can-use-wasm-files/index.test.ts b/test/e2e/edge-can-use-wasm-files/index.test.ts index e62df0153fb66..bdb532b4228d4 100644 --- a/test/e2e/edge-can-use-wasm-files/index.test.ts +++ b/test/e2e/edge-can-use-wasm-files/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { fetchViaHTTP } from 'next-test-utils' import path from 'path' import fs from 'fs-extra' diff --git a/test/e2e/edge-compiler-can-import-blob-assets/index.test.ts b/test/e2e/edge-compiler-can-import-blob-assets/index.test.ts index e90dbd4c73897..acf312d62dc8b 100644 --- a/test/e2e/edge-compiler-can-import-blob-assets/index.test.ts +++ b/test/e2e/edge-compiler-can-import-blob-assets/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { fetchViaHTTP, renderViaHTTP } from 'next-test-utils' import path from 'path' import { promises as fs } from 'fs' diff --git a/test/e2e/edge-compiler-module-exports-preference/index.test.ts b/test/e2e/edge-compiler-module-exports-preference/index.test.ts index 8290d296607f1..b070ad97ddbbd 100644 --- a/test/e2e/edge-compiler-module-exports-preference/index.test.ts +++ b/test/e2e/edge-compiler-module-exports-preference/index.test.ts @@ -1,5 +1,5 @@ import { createNext } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { fetchViaHTTP, shouldRunTurboDevTest } from 'next-test-utils' describe('Edge compiler module exports preference', () => { diff --git a/test/e2e/edge-configurable-runtime/index.test.ts b/test/e2e/edge-configurable-runtime/index.test.ts index bc5ae04e32f22..7ef9340c9b637 100644 --- a/test/e2e/edge-configurable-runtime/index.test.ts +++ b/test/e2e/edge-configurable-runtime/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { fetchViaHTTP, File, nextBuild } from 'next-test-utils' import { join } from 'path' import stripAnsi from 'strip-ansi' diff --git a/test/e2e/getserversideprops/test/index.test.ts b/test/e2e/getserversideprops/test/index.test.ts index ba5857e249b41..c2a6a14c97272 100644 --- a/test/e2e/getserversideprops/test/index.test.ts +++ b/test/e2e/getserversideprops/test/index.test.ts @@ -14,7 +14,7 @@ import { } from 'next-test-utils' import { join } from 'path' import webdriver from 'next-webdriver' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' const appDir = join(__dirname, '../app') diff --git a/test/e2e/handle-non-hoisted-swc-helpers/index.test.ts b/test/e2e/handle-non-hoisted-swc-helpers/index.test.ts index 08db8065dacb5..dc9927231afe6 100644 --- a/test/e2e/handle-non-hoisted-swc-helpers/index.test.ts +++ b/test/e2e/handle-non-hoisted-swc-helpers/index.test.ts @@ -1,5 +1,5 @@ import { createNext } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { renderViaHTTP } from 'next-test-utils' describe('handle-non-hoisted-swc-helpers', () => { diff --git a/test/e2e/i18n-api-support/index.test.ts b/test/e2e/i18n-api-support/index.test.ts index 25ec819096863..3e51e9b1ec4e3 100644 --- a/test/e2e/i18n-api-support/index.test.ts +++ b/test/e2e/i18n-api-support/index.test.ts @@ -1,6 +1,6 @@ import { createNext } from 'e2e-utils' import { fetchViaHTTP } from 'next-test-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' describe('i18n API support', () => { let next: NextInstance diff --git a/test/e2e/i18n-ignore-redirect-source-locale/redirects.test.ts b/test/e2e/i18n-ignore-redirect-source-locale/redirects.test.ts index 25e328d40fdd9..f78c8302a904d 100644 --- a/test/e2e/i18n-ignore-redirect-source-locale/redirects.test.ts +++ b/test/e2e/i18n-ignore-redirect-source-locale/redirects.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { check } from 'next-test-utils' import { join } from 'path' import webdriver from 'next-webdriver' diff --git a/test/e2e/middleware-responses/test/index.test.ts b/test/e2e/middleware-responses/test/index.test.ts index 4e2251abc6448..6bd5c61f53eba 100644 --- a/test/e2e/middleware-responses/test/index.test.ts +++ b/test/e2e/middleware-responses/test/index.test.ts @@ -2,7 +2,7 @@ import { join } from 'path' import { fetchViaHTTP } from 'next-test-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { createNext, FileRef } from 'e2e-utils' describe('Middleware Responses', () => { diff --git a/test/e2e/middleware-rewrites/test/index.test.ts b/test/e2e/middleware-rewrites/test/index.test.ts index 0c9db912ee3ca..5c54b8a718b4b 100644 --- a/test/e2e/middleware-rewrites/test/index.test.ts +++ b/test/e2e/middleware-rewrites/test/index.test.ts @@ -3,7 +3,7 @@ import { join } from 'path' import cheerio from 'cheerio' import webdriver from 'next-webdriver' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { check, fetchViaHTTP, retry } from 'next-test-utils' import { createNext, FileRef } from 'e2e-utils' import escapeStringRegexp from 'escape-string-regexp' diff --git a/test/e2e/middleware-shallow-link/index.test.ts b/test/e2e/middleware-shallow-link/index.test.ts index 1c0d2aa3402ce..ff47247e9f8ec 100644 --- a/test/e2e/middleware-shallow-link/index.test.ts +++ b/test/e2e/middleware-shallow-link/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import webdriver from 'next-webdriver' import { join } from 'path' import { check } from 'next-test-utils' diff --git a/test/e2e/middleware-trailing-slash/test/index.test.ts b/test/e2e/middleware-trailing-slash/test/index.test.ts index 250c2d4971d8b..0dcb4eea12d23 100644 --- a/test/e2e/middleware-trailing-slash/test/index.test.ts +++ b/test/e2e/middleware-trailing-slash/test/index.test.ts @@ -4,7 +4,7 @@ import fs from 'fs-extra' import { join } from 'path' import webdriver from 'next-webdriver' import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { check, fetchViaHTTP, waitFor } from 'next-test-utils' describe('Middleware Runtime trailing slash', () => { diff --git a/test/e2e/new-link-behavior/child-a-tag-error.test.ts b/test/e2e/new-link-behavior/child-a-tag-error.test.ts index da90b7cc5e741..efd13c1a92d39 100644 --- a/test/e2e/new-link-behavior/child-a-tag-error.test.ts +++ b/test/e2e/new-link-behavior/child-a-tag-error.test.ts @@ -1,6 +1,6 @@ import { createNext, FileRef, isNextDev } from 'e2e-utils' import { getRedboxDescription, hasRedbox } from 'next-test-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import webdriver from 'next-webdriver' import path from 'path' diff --git a/test/e2e/new-link-behavior/index.test.ts b/test/e2e/new-link-behavior/index.test.ts index 4330dc2c67684..68280d073c7ce 100644 --- a/test/e2e/new-link-behavior/index.test.ts +++ b/test/e2e/new-link-behavior/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { renderViaHTTP } from 'next-test-utils' import webdriver from 'next-webdriver' import cheerio from 'cheerio' diff --git a/test/e2e/next-font/basepath.test.ts b/test/e2e/next-font/basepath.test.ts index 7e93eb99138f7..d456929a06eb2 100644 --- a/test/e2e/next-font/basepath.test.ts +++ b/test/e2e/next-font/basepath.test.ts @@ -1,6 +1,6 @@ import cheerio from 'cheerio' import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { renderViaHTTP } from 'next-test-utils' import { join } from 'path' diff --git a/test/e2e/next-font/google-fetch-error.test.ts b/test/e2e/next-font/google-fetch-error.test.ts index 3c5b1b6b56249..bef56fb71cb64 100644 --- a/test/e2e/next-font/google-fetch-error.test.ts +++ b/test/e2e/next-font/google-fetch-error.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { join } from 'path' import webdriver from 'next-webdriver' diff --git a/test/e2e/next-font/index.test.ts b/test/e2e/next-font/index.test.ts index 03acb93deebad..bd113b94a7b1a 100644 --- a/test/e2e/next-font/index.test.ts +++ b/test/e2e/next-font/index.test.ts @@ -1,6 +1,6 @@ import cheerio from 'cheerio' import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { renderViaHTTP, shouldRunTurboDevTest } from 'next-test-utils' import { join } from 'path' import webdriver from 'next-webdriver' diff --git a/test/e2e/next-font/with-font-declarations-file.test.ts b/test/e2e/next-font/with-font-declarations-file.test.ts index a7c88393cbee7..96adf64e85d21 100644 --- a/test/e2e/next-font/with-font-declarations-file.test.ts +++ b/test/e2e/next-font/with-font-declarations-file.test.ts @@ -1,6 +1,6 @@ import cheerio from 'cheerio' import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { renderViaHTTP } from 'next-test-utils' import { join } from 'path' diff --git a/test/e2e/next-font/without-preloaded-fonts.test.ts b/test/e2e/next-font/without-preloaded-fonts.test.ts index d296e327c22bb..aa63a82427623 100644 --- a/test/e2e/next-font/without-preloaded-fonts.test.ts +++ b/test/e2e/next-font/without-preloaded-fonts.test.ts @@ -1,6 +1,6 @@ import cheerio from 'cheerio' import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { renderViaHTTP } from 'next-test-utils' import { join } from 'path' diff --git a/test/e2e/next-head/index.test.ts b/test/e2e/next-head/index.test.ts index 3a48591a8a206..9552102b30fe6 100644 --- a/test/e2e/next-head/index.test.ts +++ b/test/e2e/next-head/index.test.ts @@ -2,7 +2,7 @@ import { createNext, FileRef } from 'e2e-utils' import { renderViaHTTP } from 'next-test-utils' import cheerio from 'cheerio' import webdriver from 'next-webdriver' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { join } from 'path' describe('next/head', () => { diff --git a/test/e2e/next-image-forward-ref/index.test.ts b/test/e2e/next-image-forward-ref/index.test.ts index 9ac2a98e72913..aca3824fd4139 100644 --- a/test/e2e/next-image-forward-ref/index.test.ts +++ b/test/e2e/next-image-forward-ref/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { waitFor } from 'next-test-utils' import path from 'path' import webdriver from 'next-webdriver' diff --git a/test/e2e/next-script/index.test.ts b/test/e2e/next-script/index.test.ts index 6ee5f76cf78a9..c89f2d29973eb 100644 --- a/test/e2e/next-script/index.test.ts +++ b/test/e2e/next-script/index.test.ts @@ -1,6 +1,6 @@ import webdriver from 'next-webdriver' import { createNext } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { BrowserInterface } from 'test/lib/browsers/base' import { check } from 'next-test-utils' diff --git a/test/e2e/no-eslint-warn-with-no-eslint-config/index.test.ts b/test/e2e/no-eslint-warn-with-no-eslint-config/index.test.ts index ab31e1f3100b4..212891bb6e1d0 100644 --- a/test/e2e/no-eslint-warn-with-no-eslint-config/index.test.ts +++ b/test/e2e/no-eslint-warn-with-no-eslint-config/index.test.ts @@ -1,5 +1,5 @@ import { createNext } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { renderViaHTTP } from 'next-test-utils' describe('no-eslint-warn-with-no-eslint-config', () => { diff --git a/test/e2e/nonce-head-manager/index.test.ts b/test/e2e/nonce-head-manager/index.test.ts index b585d84dd617b..98e8acc1314e4 100644 --- a/test/e2e/nonce-head-manager/index.test.ts +++ b/test/e2e/nonce-head-manager/index.test.ts @@ -1,7 +1,7 @@ import { createNext, FileRef } from 'e2e-utils' import { check } from 'next-test-utils' import webdriver from 'next-webdriver' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { join } from 'path' describe('nonce head manager', () => { diff --git a/test/e2e/og-api/index.test.ts b/test/e2e/og-api/index.test.ts index 39d4cae915523..39025a7e7d3e0 100644 --- a/test/e2e/og-api/index.test.ts +++ b/test/e2e/og-api/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { fetchViaHTTP, renderViaHTTP } from 'next-test-utils' import fs from 'fs-extra' import { join } from 'path' diff --git a/test/e2e/postcss-config-cjs/index.test.ts b/test/e2e/postcss-config-cjs/index.test.ts index 57abe2ec6d9b8..5cbbb4a3b50b9 100644 --- a/test/e2e/postcss-config-cjs/index.test.ts +++ b/test/e2e/postcss-config-cjs/index.test.ts @@ -1,6 +1,6 @@ import { createNext, FileRef } from 'e2e-utils' import { join } from 'path' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import webdriver from 'next-webdriver' describe('postcss-config-cjs', () => { diff --git a/test/e2e/proxy-request-with-middleware/test/index.test.ts b/test/e2e/proxy-request-with-middleware/test/index.test.ts index 0e1bcc768cb49..5c1ce3a9478d9 100644 --- a/test/e2e/proxy-request-with-middleware/test/index.test.ts +++ b/test/e2e/proxy-request-with-middleware/test/index.test.ts @@ -2,7 +2,7 @@ import { join } from 'path' import { fetchViaHTTP } from 'next-test-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { createNext, FileRef } from 'e2e-utils' describe('Requests not effected when middleware used', () => { diff --git a/test/e2e/reload-scroll-backforward-restoration/index.test.ts b/test/e2e/reload-scroll-backforward-restoration/index.test.ts index 4a32132fd52bc..d67180fe495cd 100644 --- a/test/e2e/reload-scroll-backforward-restoration/index.test.ts +++ b/test/e2e/reload-scroll-backforward-restoration/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { check } from 'next-test-utils' import { join } from 'path' import webdriver from 'next-webdriver' diff --git a/test/production/app-dir-edge-runtime-with-wasm/index.test.ts b/test/production/app-dir-edge-runtime-with-wasm/index.test.ts index 54b4e3a3f152e..4d80314c82f24 100644 --- a/test/production/app-dir-edge-runtime-with-wasm/index.test.ts +++ b/test/production/app-dir-edge-runtime-with-wasm/index.test.ts @@ -1,6 +1,6 @@ import path from 'path' import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { renderViaHTTP } from 'next-test-utils' const files = { diff --git a/test/production/app-dir-hide-suppressed-error-during-next-export/index.test.ts b/test/production/app-dir-hide-suppressed-error-during-next-export/index.test.ts index 98d86c0db55eb..36163c1442436 100644 --- a/test/production/app-dir-hide-suppressed-error-during-next-export/index.test.ts +++ b/test/production/app-dir-hide-suppressed-error-during-next-export/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { join } from 'path' describe('app-dir-hide-suppressed-error-during-next-export', () => { diff --git a/test/production/app-dir-prefetch-non-iso-url/index.test.ts b/test/production/app-dir-prefetch-non-iso-url/index.test.ts index b5325e6c54906..1aae6840f56af 100644 --- a/test/production/app-dir-prefetch-non-iso-url/index.test.ts +++ b/test/production/app-dir-prefetch-non-iso-url/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { join } from 'path' import { BrowserInterface } from '../../lib/browsers/base' import webdriver from 'next-webdriver' diff --git a/test/production/app-dir-prevent-304-caching/index.test.ts b/test/production/app-dir-prevent-304-caching/index.test.ts index d27ffc4f108c1..89a529015c6ec 100644 --- a/test/production/app-dir-prevent-304-caching/index.test.ts +++ b/test/production/app-dir-prevent-304-caching/index.test.ts @@ -1,5 +1,5 @@ import { createNext, FileRef } from 'e2e-utils' -import { NextInstance } from 'test/lib/next-modes/base' +import { NextInstance } from 'e2e-utils' import { join } from 'path' import { fetchViaHTTP, waitFor } from 'next-test-utils'