Unverified Commit 014a2549 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[test] Move all files to .ts (5/6) (#85640)

parent 15d0fd47
......@@ -791,7 +791,7 @@ jobs:
--concurrency 4 \
test/production/pages-dir/production/test/index.test.ts \
test/integration/css-client-nav/test/index.test.ts \
test/integration/rewrites-has-condition/test/index.test.js \
test/integration/rewrites-has-condition/test/index.test.ts \
test/integration/create-next-app/index.test.ts \
test/integration/create-next-app/package-manager/pnpm.test.ts
stepName: 'test-integration-windows'
......
......@@ -41,11 +41,11 @@ describe('Read-only source HMR', () => {
appPort = await findPort()
app = await launchApp(appDir, appPort, {
env: {
__NEXT_TEST_WITH_DEVTOOL: 1,
__NEXT_TEST_WITH_DEVTOOL: '1',
// Events can be finicky in CI. This switches to a more reliable
// polling method.
CHOKIDAR_USEPOLLING: 'true',
CHOKIDAR_INTERVAL: 500,
CHOKIDAR_INTERVAL: '500',
},
})
})
......
......@@ -412,7 +412,7 @@ function runTests({ isDev = false, isExport = false, isPages404 = false }) {
describe('404 handling', () => {
let nextOpts = {}
beforeAll(async () => {
const hasLocalNext = await fs.exists(join(appDir, 'node_modules/next'))
const hasLocalNext = fs.existsSync(join(appDir, 'node_modules/next'))
if (hasLocalNext) {
nextOpts = {
......
......@@ -77,10 +77,10 @@ describe('Required Server Files', () => {
for (const file of requiredFilesManifest.files) {
console.log('checking', file)
expect(await fs.exists(join(appDir, file))).toBe(true)
expect(fs.existsSync(join(appDir, file))).toBe(true)
}
expect(await fs.exists(join(appDir, '.next/server'))).toBe(true)
expect(fs.existsSync(join(appDir, '.next/server'))).toBe(true)
})
it('should render SSR page correctly', async () => {
......
......@@ -44,7 +44,7 @@ describe('next/dynamic', () => {
})
afterAll(() => killApp(app))
runTests(true)
runTests()
}
)
;(process.env.TURBOPACK_DEV ? describe.skip : describe)(
......
......@@ -33,17 +33,17 @@ const runTests = () => {
expect(scrollX).not.toBe(0)
expect(scrollY).not.toBe(0)
await browser.eval(() => window.next.router.push('/another'))
await browser.eval(() => (window as any).next.router.push('/another'))
await retry(async () => {
const html = await browser.eval(() => document.documentElement.innerHTML)
expect(html).toMatch(/hi from another/)
})
await browser.eval(() => (window.didHydrate = false))
await browser.eval(() => ((window as any).didHydrate = false))
await browser.eval(() => window.history.back())
await retry(async () => {
expect(await browser.eval(() => window.didHydrate)).toBe(true)
expect(await browser.eval(() => (window as any).didHydrate)).toBe(true)
})
const newScrollX = Math.floor(await browser.eval(() => window.scrollX))
......
......@@ -47,14 +47,10 @@ const runTests = () => {
/hi from another/
)
await browser.eval(() => (window.didHydrate = false))
await browser.eval(() => ((window as any).didHydrate = false))
await browser.eval(() => window.history.forward())
await check(() => browser.eval(() => window.didHydrate), {
test(content) {
return content
},
})
await check(() => browser.eval(() => (window as any).didHydrate), true)
const newScrollX = Math.floor(await browser.eval(() => window.scrollX))
const newScrollY = Math.floor(await browser.eval(() => window.scrollY))
......
......@@ -14,7 +14,7 @@ let app
let appPort
const appDir = join(__dirname, '../')
function runTests(dev) {
function runTests(dev: boolean) {
it('should render from pages', async () => {
const html = await renderViaHTTP(appPort, '/')
expect(html).toMatch(/PAGES/)
......@@ -50,7 +50,7 @@ describe('Dynamic Routing', () => {
})
afterAll(() => killApp(app))
runTests()
runTests(false)
}
)
})
......@@ -85,7 +85,7 @@ describe('Dynamic Routing', () => {
})
afterAll(() => killApp(app))
runTests(true)
runTests()
}
)
;(process.env.TURBOPACK_DEV ? describe.skip : describe)(
......
......@@ -78,7 +78,7 @@ describe('SSG data 404', () => {
proxy.web(req, res)
})
await new Promise((resolve) => {
await new Promise<void>((resolve) => {
proxyServer.listen(proxyPort, () => resolve())
})
})
......@@ -120,7 +120,7 @@ describe('SSG data 404', () => {
})
})
await new Promise((resolve) => {
await new Promise<void>((resolve) => {
proxyServer.listen(proxyPort, () => resolve())
})
})
......
......@@ -42,7 +42,7 @@ describe('Custom 404 Page for static site generation with dynamic routes', () =>
app = await nextStart(appDir, appPort)
})
runTests('server')
runTests()
}
)
;(process.env.TURBOPACK_BUILD ? describe.skip : describe)(
......@@ -54,7 +54,7 @@ describe('Custom 404 Page for static site generation with dynamic routes', () =>
})
afterAll(() => killApp(app))
runTests('dev')
runTests()
}
)
})
......@@ -23,7 +23,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -53,7 +53,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -101,7 +101,7 @@ describe('config telemetry', () => {
stderr2 += msg || ''
},
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
await check(() => stderr2, /NEXT_CLI_SESSION_STARTED/)
......@@ -142,7 +142,7 @@ describe('config telemetry', () => {
try {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
try {
......@@ -166,7 +166,7 @@ describe('config telemetry', () => {
async () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
const featureUsageEvents = findAllTelemetryEvents(
stderr,
......@@ -210,7 +210,7 @@ describe('config telemetry', () => {
)
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
path.join(appDir, 'next.config.js'),
......@@ -268,7 +268,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -294,7 +294,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -320,7 +320,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -346,7 +346,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.remove(path.join(appDir, 'middleware.js'))
......@@ -378,7 +378,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -416,7 +416,7 @@ describe('config telemetry', () => {
async () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
const featureUsageEvents = findAllTelemetryEvents(
stderr,
......@@ -443,7 +443,7 @@ describe('config telemetry', () => {
async () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
const featureUsageEvents = findAllTelemetryEvents(
stderr,
......@@ -468,7 +468,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -499,7 +499,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -527,7 +527,7 @@ describe('config telemetry', () => {
it('emits telemetry for default React Compiler options', async () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
try {
......@@ -554,7 +554,7 @@ describe('config telemetry', () => {
try {
const app = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
stderr = app.stderr
const event = /NEXT_CLI_SESSION_STARTED[\s\S]+?{([\s\S]+?)}/
......@@ -585,7 +585,7 @@ describe('config telemetry', () => {
try {
const app = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
stderr = app.stderr
const event = /NEXT_CLI_SESSION_STARTED[\s\S]+?{([\s\S]+?)}/
......@@ -623,7 +623,7 @@ describe('config telemetry', () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -662,7 +662,7 @@ describe('config telemetry', () => {
try {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
try {
......@@ -697,7 +697,7 @@ describe('config telemetry', () => {
try {
app = await launchApp(appDir, await findPort(), {
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
onStderr(msg) {
stderr += msg || ''
},
......@@ -733,7 +733,7 @@ describe('config telemetry', () => {
try {
const app = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
stderr = app.stderr
......@@ -761,7 +761,7 @@ describe('config telemetry', () => {
try {
const app = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
stderr = app.stderr
......
......@@ -105,7 +105,7 @@ describe('Telemetry CLI', () => {
env: {
// block swc from loading
NODE_OPTIONS: '--no-addons',
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
expect(stderr).toMatch(/NEXT_SWC_LOAD_FAILURE/)
......@@ -125,7 +125,7 @@ describe('Telemetry CLI', () => {
const { stderr } = await runNextCommand(['build', appDir], {
stderr: true,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
await fs.rename(
......@@ -148,7 +148,7 @@ describe('Telemetry CLI', () => {
const { stderr } = await runNextCommand(['build', appDir], {
stderr: true,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
await fs.rename(
......@@ -173,7 +173,7 @@ describe('Telemetry CLI', () => {
const { stderr } = await runNextCommand(['build', appDir], {
stderr: true,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
......@@ -195,7 +195,7 @@ describe('Telemetry CLI', () => {
const { stderr } = await runNextCommand(['build', appDir], {
stderr: true,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
await fs.rename(
......@@ -221,7 +221,7 @@ describe('Telemetry CLI', () => {
const { stderr } = await runNextCommand(['build', appDir], {
stderr: true,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
await fs.rename(
......@@ -247,7 +247,7 @@ describe('Telemetry CLI', () => {
const { stderr } = await runNextCommand(['build', appDir], {
stderr: true,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
await fs.rename(
......@@ -273,7 +273,7 @@ describe('Telemetry CLI', () => {
const { stderr } = await runNextCommand(['build', appDir], {
stderr: true,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
await fs.rename(
......@@ -299,7 +299,7 @@ describe('Telemetry CLI', () => {
const { stderr } = await runNextCommand(['build', appDir], {
stderr: true,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
await fs.rename(
......@@ -337,7 +337,7 @@ describe('Telemetry CLI', () => {
it('detect static 404 correctly for `next build`', async () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
const event1 = /NEXT_BUILD_OPTIMIZED[\s\S]+?{([\s\S]+?)}/
......@@ -349,7 +349,7 @@ describe('Telemetry CLI', () => {
it('detect page counts correctly for `next build`', async () => {
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
const event1 = /NEXT_BUILD_OPTIMIZED[\s\S]+?{([\s\S]+?)}/
......
......@@ -23,7 +23,7 @@ describe('page features telemetry', () => {
let app = await launchApp(appDir, port, {
onStderr: handleStderr,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
turbo: true,
})
......@@ -58,7 +58,7 @@ describe('page features telemetry', () => {
let app = await launchApp(appDir, port, {
onStderr: handleStderr,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
turbo: true,
})
......@@ -94,7 +94,7 @@ describe('page features telemetry', () => {
let app = await launchApp(appDir, port, {
onStderr: handleStderr,
env: {
NEXT_TELEMETRY_DEBUG: 1,
NEXT_TELEMETRY_DEBUG: '1',
},
})
......@@ -163,7 +163,7 @@ describe('page features telemetry', () => {
)
const { stderr } = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
try {
......@@ -198,7 +198,7 @@ describe('page features telemetry', () => {
let build = await nextBuild(appDir, [], {
stderr: 'log',
stdout: 'log',
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
expect(build.stderr).toContain('NEXT_BUILD_OPTIMIZED')
......@@ -222,7 +222,7 @@ describe('page features telemetry', () => {
const build = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......@@ -256,7 +256,7 @@ describe('page features telemetry', () => {
const build = await nextBuild(appDir, [], {
stderr: true,
env: { NEXT_TELEMETRY_DEBUG: 1 },
env: { NEXT_TELEMETRY_DEBUG: '1' },
})
await fs.rename(
......
......@@ -15,7 +15,7 @@ let app
let appPort
const appDir = join(__dirname, '../')
const runTests = (dev) => {
const runTests = (dev: boolean) => {
it('should route to /blog/another/ correctly', async () => {
const browser = await webdriver(appPort, '/')
await browser.elementByCss('#to-blog-another').click()
......@@ -115,7 +115,7 @@ describe('href resolving trailing-slash', () => {
})
afterAll(() => killApp(app))
runTests()
runTests(false)
}
)
})
/* eslint-env jest */
import { createFile, exists, readFile, writeFile, remove } from 'fs-extra'
import { createFile, existsSync, readFile, writeFile, remove } from 'fs-extra'
import { nextBuild } from 'next-test-utils'
import path from 'path'
;(process.env.TURBOPACK_DEV ? describe.skip : describe)(
......@@ -21,7 +21,7 @@ import path from 'path'
})
it('Creates a default tsconfig.json when one is missing', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
const { code } = await nextBuild(appDir)
expect(code).toBe(0)
expect(await readFile(tsConfig, 'utf8')).toMatchInlineSnapshot(`
......@@ -68,7 +68,7 @@ import path from 'path'
})
it('Works with an empty tsconfig.json (docs)', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await createFile(tsConfig)
await new Promise((resolve) => setTimeout(resolve, 500))
......@@ -125,7 +125,7 @@ import path from 'path'
})
it('Updates an existing tsconfig.json without losing comments', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await writeFile(
tsConfig,
......@@ -202,7 +202,7 @@ import path from 'path'
})
it('allows you to set commonjs module mode', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await writeFile(
tsConfig,
......@@ -256,7 +256,7 @@ import path from 'path'
})
it('allows you to set es2020 module mode', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await writeFile(
tsConfig,
......@@ -310,7 +310,7 @@ import path from 'path'
})
it('allows you to set node16 moduleResolution mode', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await writeFile(
tsConfig,
......@@ -368,7 +368,7 @@ import path from 'path'
})
it('allows you to set bundler moduleResolution mode', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await writeFile(
tsConfig,
......@@ -426,7 +426,7 @@ import path from 'path'
})
it('allows you to set target mode', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await writeFile(tsConfig, `{ "compilerOptions": { "target": "es2022" } }`)
await new Promise((resolve) => setTimeout(resolve, 500))
......@@ -481,7 +481,7 @@ import path from 'path'
})
it('allows you to set node16 module mode', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await writeFile(
tsConfig,
......@@ -539,7 +539,7 @@ import path from 'path'
})
it('allows you to set verbatimModuleSyntax true without adding isolatedModules', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await writeFile(
tsConfig,
......@@ -597,8 +597,8 @@ import path from 'path'
})
it('allows you to set verbatimModuleSyntax true via extends without adding isolatedModules', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(await exists(tsConfigBase)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
expect(existsSync(tsConfigBase)).toBe(false)
await writeFile(
tsConfigBase,
......@@ -655,8 +655,8 @@ import path from 'path'
})
it('allows you to extend another configuration file', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(await exists(tsConfigBase)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
expect(existsSync(tsConfigBase)).toBe(false)
await writeFile(
tsConfigBase,
......@@ -718,8 +718,8 @@ import path from 'path'
})
it('creates compilerOptions when you extend another config', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(await exists(tsConfigBase)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
expect(existsSync(tsConfigBase)).toBe(false)
await writeFile(
tsConfigBase,
......@@ -781,7 +781,7 @@ import path from 'path'
// TODO: Enable this test when repo has upgraded to TypeScript 5.4. Currently tested as E2E: tsconfig-module-preserve
it.skip('allows you to skip moduleResolution, esModuleInterop and resolveJsonModule when using "module: preserve"', async () => {
expect(await exists(tsConfig)).toBe(false)
expect(existsSync(tsConfig)).toBe(false)
await writeFile(
tsConfig,
......
......@@ -13,10 +13,7 @@ describe('typeof window replace', () => {
() => {
beforeAll(async () => {
await nextBuild(appDir)
buildManifest = require(path.join(
appDir,
'.next/build-manifest.json'
), 'utf8')
buildManifest = require(path.join(appDir, '.next/build-manifest.json'))
})
it('Replaces `typeof window` with object for client code', async () => {
......@@ -40,6 +37,7 @@ describe('typeof window replace', () => {
const allFilesInDotNextServerChunks = await fs
.readdirSync(chunksFilesDir, {
recursive: true,
encoding: 'utf-8',
})
.filter((item) => item.endsWith('.js'))
for (const file of allFilesInDotNextServerChunks) {
......@@ -54,6 +52,7 @@ describe('typeof window replace', () => {
const allFilesInDotNextServerPages = await fs
.readdirSync(pagesFilesDir, {
recursive: true,
encoding: 'utf-8',
})
.filter((item) => item.endsWith('.js'))
for (const file of allFilesInDotNextServerPages) {
......
......@@ -8,7 +8,7 @@ const appDir = join(__dirname, '..')
let appPort
let app
async function get$(path, query) {
async function get$(path, query?: any) {
const html = await renderViaHTTP(appPort, path, query)
return cheerio.load(html)
}
......
......@@ -8,7 +8,7 @@ const appDir = join(__dirname, '..')
let appPort
let app
async function get$(path, query) {
async function get$(path, query?: any) {
const html = await renderViaHTTP(appPort, path, query)
return cheerio.load(html)
}
......
......@@ -21,7 +21,7 @@ const handleOutput = (msg) => {
output += msg
}
async function get$(path, query, options) {
async function get$(path, query?: any, options?: any) {
const html = await renderViaHTTP(appPort, path, query, options)
return cheerio.load(html)
}
......
......@@ -19117,7 +19117,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/re-export-all-exports-from-page-disallowed/test/index.test.js": {
"test/integration/re-export-all-exports-from-page-disallowed/test/index.test.ts": {
"passed": [
"Re-export all exports from page is disallowed production mode builds without error when no `export * from \"...\"` is used in pages",
"Re-export all exports from page is disallowed production mode shows error when a page re-export all exports"
......@@ -19157,7 +19157,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/react-profiling-mode/test/index.test.js": {
"test/integration/react-profiling-mode/test/index.test.ts": {
"passed": [
"React Profiling Mode production mode with config enabled should have used the react-dom profiling bundle for client component",
"React Profiling Mode production mode with config enabled should have used the react-dom profiling bundle for pages",
......@@ -19169,7 +19169,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/read-only-source-hmr/test/index.test.js": {
"test/integration/read-only-source-hmr/test/index.test.ts": {
"passed": [
"Read-only source HMR should detect a new page",
"Read-only source HMR should detect changes to a page",
......@@ -19180,7 +19180,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/relay-graphql-swc-multi-project/test/index.test.js": {
"test/integration/relay-graphql-swc-multi-project/test/index.test.ts": {
"passed": [
"Relay Compiler Transform - Multi Project Config production mode project-a should resolve index page correctly",
"Relay Compiler Transform - Multi Project Config production mode project-b should resolve index page correctly"
......@@ -19193,7 +19193,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/relay-graphql-swc-single-project/test/index.test.js": {
"test/integration/relay-graphql-swc-single-project/test/index.test.ts": {
"passed": [
"Relay Compiler Transform - Single Project Config production mode should resolve index page correctly"
],
......@@ -19204,14 +19204,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-module-error/test/index.test.js": {
"test/integration/render-error-on-module-error/test/index.test.ts": {
"passed": ["Module Init Error production mode should render error page"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-top-level-error/with-get-initial-props/test/index.test.js": {
"test/integration/render-error-on-top-level-error/with-get-initial-props/test/index.test.ts": {
"passed": [
"Top Level Error production mode should render error page with getInitialProps"
],
......@@ -19220,14 +19220,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-top-level-error/without-get-initial-props/test/index.test.js": {
"test/integration/render-error-on-top-level-error/without-get-initial-props/test/index.test.ts": {
"passed": ["Top Level Error production mode should render error page"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/integration/repeated-slashes/test/index.test.js": {
"test/integration/repeated-slashes/test/index.test.ts": {
"passed": [
"404 handling custom _error next dev should handle backslashes correctly",
"404 handling custom _error next dev should handle double slashes correctly",
......@@ -19305,7 +19305,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/required-server-files-ssr-404/test/index.test.js": {
"test/integration/required-server-files-ssr-404/test/index.test.ts": {
"passed": [
"Required Server Files production mode partial optional catch-all route should render /partial-catch-all/hello.com",
"Required Server Files production mode partial optional catch-all route should render /partial-catch-all/hello.com/hello",
......@@ -19337,7 +19337,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/revalidate-as-path/test/index.test.js": {
"test/integration/revalidate-as-path/test/index.test.ts": {
"passed": [
"Revalidate asPath Normalizing production mode should render with correct asPath with / requested",
"Revalidate asPath Normalizing production mode should render with correct asPath with /_next/data /another/index requested",
......@@ -19349,7 +19349,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrite-with-browser-history/test/index.test.js": {
"test/integration/rewrite-with-browser-history/test/index.test.ts": {
"passed": [
"rewrites persist with browser history actions production mode back-button should go back to rewritten path successfully"
],
......@@ -19360,7 +19360,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-client-resolving/test/index.test.js": {
"test/integration/rewrites-client-resolving/test/index.test.ts": {
"passed": [
"Client-side rewrites resolving production mode should break rewrites chain after matching /category",
"Client-side rewrites resolving production mode should break rewrites chain when dynamic catch-all route matches",
......@@ -19379,7 +19379,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-destination-query-array/test/index.test.js": {
"test/integration/rewrites-destination-query-array/test/index.test.ts": {
"passed": [
"rewrites destination query production mode should contain all values passed in param as array"
],
......@@ -19390,7 +19390,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-has-condition/test/index.test.js": {
"test/integration/rewrites-has-condition/test/index.test.ts": {
"passed": [
"rewrites has condition production mode should navigate to a has rewrite without error",
"rewrites has condition production mode should navigate to a simple rewrite without error"
......@@ -19403,7 +19403,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-manual-href-as/test/index.test.js": {
"test/integration/rewrites-manual-href-as/test/index.test.ts": {
"passed": [
"rewrites manual href/as production mode should allow manual href/as on dynamic page",
"rewrites manual href/as production mode should allow manual href/as on index page"
......@@ -19416,7 +19416,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/root-catchall-cache/test/index.test.js": {
"test/integration/root-catchall-cache/test/index.test.ts": {
"passed": ["Root Catch-all Cache production mode should cache / correctly"],
"failed": [],
"pending": [],
......@@ -19434,7 +19434,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-index/test/index.test.js": {
"test/integration/route-index/test/index.test.ts": {
"passed": [
"Route index handling production mode should handle / correctly",
"Route index handling production mode should handle /index correctly",
......@@ -19453,7 +19453,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-indexes/test/index.test.js": {
"test/integration/route-indexes/test/index.test.ts": {
"passed": [
"Route indexes handling production mode should handle / correctly",
"Route indexes handling production mode should handle /api/sub correctly",
......@@ -19494,7 +19494,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-load-cancel-css/test/index.test.js": {
"test/integration/route-load-cancel-css/test/index.test.ts": {
"passed": [
"route cancel via CSS production mode should cancel slow page loads on re-navigation"
],
......@@ -19503,7 +19503,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-load-cancel/test/index.test.js": {
"test/integration/route-load-cancel/test/index.test.ts": {
"passed": [
"next/dynamic production mode should cancel slow page loads on re-navigation"
],
......@@ -19514,7 +19514,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-hash-navigation/test/index.test.js": {
"test/integration/router-hash-navigation/test/index.test.ts": {
"passed": [
"router.isReady production mode scrolls to top when href=\"/\" and url already contains a hash"
],
......@@ -19525,7 +19525,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-is-ready-app-gip/test/index.test.js": {
"test/integration/router-is-ready-app-gip/test/index.test.ts": {
"passed": [
"router.isReady with appGip production mode isReady should be true after query update for getStaticProps page with query",
"router.isReady with appGip production mode isReady should be true immediately for getStaticProps page without query",
......@@ -19542,7 +19542,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-is-ready/test/index.test.js": {
"test/integration/router-is-ready/test/index.test.ts": {
"passed": [
"router.isReady production mode isReady should be true after query update for auto-export page with query",
"router.isReady production mode isReady should be true after query update for dynamic auto-export page with query",
......@@ -19571,7 +19571,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-prefetch/test/index.test.js": {
"test/integration/router-prefetch/test/index.test.ts": {
"passed": [
"Router prefetch production mode should resolve prefetch promise with invalid href"
],
......@@ -19583,7 +19583,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-rerender/test/index.test.js": {
"test/integration/router-rerender/test/index.test.ts": {
"passed": [
"router rerender production mode with middleware should not trigger unnecessary rerenders when middleware is used"
],
......@@ -19630,7 +19630,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/scroll-back-restoration/test/index.test.js": {
"test/integration/scroll-back-restoration/test/index.test.ts": {
"passed": [
"Scroll Back Restoration Support production mode should restore the scroll position on navigating back"
],
......@@ -19641,7 +19641,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/scroll-forward-restoration/test/index.test.js": {
"test/integration/scroll-forward-restoration/test/index.test.ts": {
"passed": [
"Scroll Forward Restoration Support production mode should restore the scroll position on navigating forward"
],
......@@ -19652,7 +19652,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/server-asset-modules/test/index.test.js": {
"test/integration/server-asset-modules/test/index.test.ts": {
"passed": [
"serverside asset modules production mode should enable reading local files in api routes"
],
......@@ -19663,7 +19663,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/server-side-dev-errors/test/index.test.js": {
"test/integration/server-side-dev-errors/test/index.test.ts": {
"passed": [
"server-side dev errors should show server-side error for api route correctly",
"server-side dev errors should show server-side error for dynamic api route correctly",
......@@ -19687,7 +19687,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/src-dir-support-double-dir/test/index.test.js": {
"test/integration/src-dir-support-double-dir/test/index.test.ts": {
"passed": [
"Dynamic Routing production mode should render from pages",
"Dynamic Routing production mode should render not render from src/pages"
......@@ -19700,7 +19700,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/src-dir-support/test/index.test.js": {
"test/integration/src-dir-support/test/index.test.ts": {
"passed": [
"Dynamic Routing production mode should navigate to a dynamic page successfully",
"Dynamic Routing production mode should navigate to a nested dynamic page successfully",
......@@ -19725,7 +19725,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/ssg-data-404/test/index.test.js": {
"test/integration/ssg-data-404/test/index.test.ts": {
"passed": [
"SSG data 404 production mode should hard navigate when a new deployment occurs"
],
......@@ -19736,7 +19736,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/ssg-dynamic-routes-404-page/test/index.test.js": {
"test/integration/ssg-dynamic-routes-404-page/test/index.test.ts": {
"passed": [
"Custom 404 Page for static site generation with dynamic routes production mode should build successfully",
"Custom 404 Page for static site generation with dynamic routes production mode should respond to a not existing page with 404"
......@@ -19748,7 +19748,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/static-404/test/index.test.js": {
"test/integration/static-404/test/index.test.ts": {
"passed": [
"Static 404 page With config enabled production mode should export 404 page without custom _error",
"Static 404 page With config enabled production mode should not export 404 page with custom _error GIP",
......@@ -19759,7 +19759,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/static-page-name/test/index.test.js": {
"test/integration/static-page-name/test/index.test.ts": {
"passed": [
"Static Page Name production mode should navigate to static page name correctly",
"Static Page Name production mode should render the page via SSR correctly"
......@@ -19772,7 +19772,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/styled-jsx-plugin/test/index.test.js": {
"test/integration/styled-jsx-plugin/test/index.test.ts": {
"passed": [
"styled-jsx using in node_modules production mode should serve a page correctly"
],
......@@ -19781,7 +19781,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/config.test.js": {
"test/integration/telemetry/test/config.test.ts": {
"passed": [
"config telemetry production mode detects i18n and image configs for session start",
"config telemetry production mode detects output config for session start",
......@@ -19811,7 +19811,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/index.test.js": {
"test/integration/telemetry/test/index.test.ts": {
"passed": [
"Telemetry CLI can disable telemetry with env NEXT_TELEMETRY_DISABLED",
"Telemetry CLI can disable telemetry with flag",
......@@ -19839,7 +19839,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/page-features.test.js": {
"test/integration/telemetry/test/page-features.test.ts": {
"passed": [
"page features telemetry detects correctly for `next dev` stopped (no turbo)",
"page features telemetry production mode detect with reportWebVitals correctly for `next build`",
......@@ -19852,7 +19852,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slash-dist/test/index.test.js": {
"test/integration/trailing-slash-dist/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -19861,7 +19861,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slashes-href-resolving/test/index.test.js": {
"test/integration/trailing-slashes-href-resolving/test/index.test.ts": {
"passed": [
"href resolving trailing-slash production mode should preload SSG routes correctly",
"href resolving trailing-slash production mode should route to /another/ correctly",
......@@ -19883,7 +19883,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slashes-rewrite/test/index.test.js": {
"test/integration/trailing-slashes-rewrite/test/index.test.ts": {
"passed": [
"Trailing Slash Rewrite Proxying production mode should proxy non-existent page correctly",
"Trailing Slash Rewrite Proxying production mode should resolve a catch-all page correctly",
......@@ -19902,7 +19902,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/tsconfig-verifier/test/index.test.js": {
"test/integration/tsconfig-verifier/test/index.test.ts": {
"passed": [
"tsconfig.json verifier Creates a default tsconfig.json when one is missing",
"tsconfig.json verifier Updates an existing tsconfig.json without losing comments",
......@@ -19932,7 +19932,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/turborepo-access-trace/test/index.test.js": {
"test/integration/turborepo-access-trace/test/index.test.ts": {
"passed": [
"build with proxy trace production mode should build and output trace correctly"
],
......@@ -19941,7 +19941,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/turbotrace-with-webpack-worker/test/index.test.js": {
"test/integration/turbotrace-with-webpack-worker/test/index.test.ts": {
"passed": [
"build trace with extra entries production mode should build and trace correctly"
],
......@@ -19950,7 +19950,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typeof-window-replace/test/index.test.js": {
"test/integration/typeof-window-replace/test/index.test.ts": {
"passed": [
"typeof window replace production mode Does not replace `typeof window` for `node_modules` code",
"typeof window replace production mode Replaces `typeof window` with object for client code",
......@@ -19961,7 +19961,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-app-type-declarations/test/index.test.js": {
"test/integration/typescript-app-type-declarations/test/index.test.ts": {
"passed": [
"TypeScript App Type Declarations should not touch an existing correct next-env.d.ts",
"TypeScript App Type Declarations should overwrite next-env.d.ts if an incorrect one exists",
......@@ -19972,14 +19972,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-baseurl/test/index.test.js": {
"test/integration/typescript-baseurl/test/index.test.ts": {
"passed": ["TypeScript Features default behavior should render the page"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-custom-tsconfig/test/index.test.js": {
"test/integration/typescript-custom-tsconfig/test/index.test.ts": {
"passed": [
"Custom TypeScript Config production mode should warn when using custom typescript path"
],
......@@ -19988,7 +19988,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-external-dir/project/test/index.test.js": {
"test/integration/typescript-external-dir/project/test/index.test.ts": {
"passed": [
"TypeScript Features default behavior should render the page with external TS/TSX dependencies"
],
......@@ -20072,7 +20072,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript/test/index.test.js": {
"test/integration/typescript/test/index.test.ts": {
"passed": [
"TypeScript Features default behavior should not fail to render when an inactive page has an error",
"TypeScript Features default behavior should render the angle bracket type assertions page",
......@@ -21088,7 +21088,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/re-export-all-exports-from-page-disallowed/test/index.test.js": {
"test/integration/re-export-all-exports-from-page-disallowed/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21129,7 +21129,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/react-profiling-mode/test/index.test.js": {
"test/integration/react-profiling-mode/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21141,7 +21141,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/read-only-source-hmr/test/index.test.js": {
"test/integration/read-only-source-hmr/test/index.test.ts": {
"passed": [
"Read-only source HMR should detect a new page",
"Read-only source HMR should detect changes to a page",
......@@ -21152,7 +21152,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/relay-graphql-swc-multi-project/test/index.test.js": {
"test/integration/relay-graphql-swc-multi-project/test/index.test.ts": {
"passed": [
"Relay Compiler Transform - Multi Project Config development mode project-a should resolve index page correctly",
"Relay Compiler Transform - Multi Project Config development mode project-b should resolve index page correctly"
......@@ -21165,7 +21165,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/relay-graphql-swc-single-project/test/index.test.js": {
"test/integration/relay-graphql-swc-single-project/test/index.test.ts": {
"passed": [
"Relay Compiler Transform - Single Project Config development mode should resolve index page correctly"
],
......@@ -21176,14 +21176,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-module-error/test/index.test.js": {
"test/integration/render-error-on-module-error/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": ["Module Init Error production mode should render error page"],
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-top-level-error/with-get-initial-props/test/index.test.js": {
"test/integration/render-error-on-top-level-error/with-get-initial-props/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21192,14 +21192,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-top-level-error/without-get-initial-props/test/index.test.js": {
"test/integration/render-error-on-top-level-error/without-get-initial-props/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": ["Top Level Error production mode should render error page"],
"flakey": [],
"runtimeError": false
},
"test/integration/repeated-slashes/test/index.test.js": {
"test/integration/repeated-slashes/test/index.test.ts": {
"passed": [],
"failed": [
"404 handling custom _error next dev should handle backslashes correctly",
......@@ -21278,7 +21278,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/required-server-files-ssr-404/test/index.test.js": {
"test/integration/required-server-files-ssr-404/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21310,7 +21310,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/revalidate-as-path/test/index.test.js": {
"test/integration/revalidate-as-path/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21322,7 +21322,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrite-with-browser-history/test/index.test.js": {
"test/integration/rewrite-with-browser-history/test/index.test.ts": {
"passed": [
"rewrites persist with browser history actions development mode back-button should go back to rewritten path successfully"
],
......@@ -21333,7 +21333,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-client-resolving/test/index.test.js": {
"test/integration/rewrites-client-resolving/test/index.test.ts": {
"passed": [
"Client-side rewrites resolving development mode should break rewrites chain after matching /category",
"Client-side rewrites resolving development mode should break rewrites chain when dynamic catch-all route matches",
......@@ -21352,7 +21352,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-destination-query-array/test/index.test.js": {
"test/integration/rewrites-destination-query-array/test/index.test.ts": {
"passed": [
"rewrites destination query development mode should contain all values passed in param as array"
],
......@@ -21363,7 +21363,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-has-condition/test/index.test.js": {
"test/integration/rewrites-has-condition/test/index.test.ts": {
"passed": [
"rewrites has condition development mode should navigate to a has rewrite without error",
"rewrites has condition development mode should navigate to a simple rewrite without error"
......@@ -21376,7 +21376,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-manual-href-as/test/index.test.js": {
"test/integration/rewrites-manual-href-as/test/index.test.ts": {
"passed": [
"rewrites manual href/as development mode should allow manual href/as on dynamic page",
"rewrites manual href/as development mode should allow manual href/as on index page"
......@@ -21389,7 +21389,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/root-catchall-cache/test/index.test.js": {
"test/integration/root-catchall-cache/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21409,7 +21409,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-index/test/index.test.js": {
"test/integration/route-index/test/index.test.ts": {
"passed": [
"Route index handling development mode should handle / correctly",
"Route index handling development mode should handle /index correctly",
......@@ -21428,7 +21428,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-indexes/test/index.test.js": {
"test/integration/route-indexes/test/index.test.ts": {
"passed": [
"Route indexes handling development mode should handle / correctly",
"Route indexes handling development mode should handle /api/sub correctly",
......@@ -21469,7 +21469,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-load-cancel-css/test/index.test.js": {
"test/integration/route-load-cancel-css/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21478,7 +21478,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-load-cancel/test/index.test.js": {
"test/integration/route-load-cancel/test/index.test.ts": {
"passed": [
"next/dynamic development mode should cancel slow page loads on re-navigation"
],
......@@ -21489,7 +21489,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-hash-navigation/test/index.test.js": {
"test/integration/router-hash-navigation/test/index.test.ts": {
"passed": [
"router.isReady development mode scrolls to top when href=\"/\" and url already contains a hash"
],
......@@ -21500,7 +21500,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-is-ready-app-gip/test/index.test.js": {
"test/integration/router-is-ready-app-gip/test/index.test.ts": {
"passed": [
"router.isReady with appGip development mode isReady should be true after query update for getStaticProps page with query",
"router.isReady with appGip development mode isReady should be true immediately for getStaticProps page without query",
......@@ -21517,7 +21517,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-is-ready/test/index.test.js": {
"test/integration/router-is-ready/test/index.test.ts": {
"passed": [
"router.isReady development mode isReady should be true after query update for auto-export page with query",
"router.isReady development mode isReady should be true after query update for getStaticProps page with query",
......@@ -21547,7 +21547,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-prefetch/test/index.test.js": {
"test/integration/router-prefetch/test/index.test.ts": {
"passed": [
"Router prefetch development mode should not prefetch",
"Router prefetch development mode should resolve prefetch promise"
......@@ -21559,7 +21559,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-rerender/test/index.test.js": {
"test/integration/router-rerender/test/index.test.ts": {
"passed": [
"router rerender development mode with middleware should not trigger unnecessary rerenders when middleware is used"
],
......@@ -21606,7 +21606,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/scroll-back-restoration/test/index.test.js": {
"test/integration/scroll-back-restoration/test/index.test.ts": {
"passed": [
"Scroll Back Restoration Support development mode should restore the scroll position on navigating back"
],
......@@ -21617,7 +21617,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/scroll-forward-restoration/test/index.test.js": {
"test/integration/scroll-forward-restoration/test/index.test.ts": {
"passed": [
"Scroll Forward Restoration Support development mode should restore the scroll position on navigating forward"
],
......@@ -21628,7 +21628,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/server-asset-modules/test/index.test.js": {
"test/integration/server-asset-modules/test/index.test.ts": {
"passed": [
"serverside asset modules development mode should enable reading local files in api routes"
],
......@@ -21639,7 +21639,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/server-side-dev-errors/test/index.test.js": {
"test/integration/server-side-dev-errors/test/index.test.ts": {
"passed": [
"server-side dev errors should show server-side error for api route correctly",
"server-side dev errors should show server-side error for dynamic api route correctly",
......@@ -21663,7 +21663,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/src-dir-support-double-dir/test/index.test.js": {
"test/integration/src-dir-support-double-dir/test/index.test.ts": {
"passed": [
"Dynamic Routing development mode should render from pages",
"Dynamic Routing development mode should render not render from src/pages"
......@@ -21676,7 +21676,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/src-dir-support/test/index.test.js": {
"test/integration/src-dir-support/test/index.test.ts": {
"passed": [
"Dynamic Routing development mode should navigate to a dynamic page successfully",
"Dynamic Routing development mode should navigate to a nested dynamic page successfully",
......@@ -21701,7 +21701,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/ssg-data-404/test/index.test.js": {
"test/integration/ssg-data-404/test/index.test.ts": {
"passed": [
"SSG data 404 development mode should hard navigate when a new deployment occurs"
],
......@@ -21712,7 +21712,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/ssg-dynamic-routes-404-page/test/index.test.js": {
"test/integration/ssg-dynamic-routes-404-page/test/index.test.ts": {
"passed": [
"Custom 404 Page for static site generation with dynamic routes development mode should respond to a not existing page with 404"
],
......@@ -21724,7 +21724,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/static-404/test/index.test.js": {
"test/integration/static-404/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21735,7 +21735,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/static-page-name/test/index.test.js": {
"test/integration/static-page-name/test/index.test.ts": {
"passed": [
"Static Page Name development mode should navigate to static page name correctly",
"Static Page Name development mode should render the page via SSR correctly"
......@@ -21748,7 +21748,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/styled-jsx-plugin/test/index.test.js": {
"test/integration/styled-jsx-plugin/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21757,7 +21757,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/config.test.js": {
"test/integration/telemetry/test/config.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21787,7 +21787,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/index.test.js": {
"test/integration/telemetry/test/index.test.ts": {
"passed": [
"Telemetry CLI can disable telemetry with env NEXT_TELEMETRY_DISABLED",
"Telemetry CLI can disable telemetry with flag",
......@@ -21815,7 +21815,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/page-features.test.js": {
"test/integration/telemetry/test/page-features.test.ts": {
"passed": [
"page features telemetry detects correctly for `next dev` stopped (no turbo)"
],
......@@ -21829,7 +21829,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slash-dist/test/index.test.js": {
"test/integration/trailing-slash-dist/test/index.test.ts": {
"passed": [
"Trailing slash in distDir development mode supports trailing slash"
],
......@@ -21838,7 +21838,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slashes-href-resolving/test/index.test.js": {
"test/integration/trailing-slashes-href-resolving/test/index.test.ts": {
"passed": [
"href resolving trailing-slash development mode should route to /another/ correctly",
"href resolving trailing-slash development mode should route to /blog/another/ correctly",
......@@ -21860,7 +21860,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slashes-rewrite/test/index.test.js": {
"test/integration/trailing-slashes-rewrite/test/index.test.ts": {
"passed": [
"Trailing Slash Rewrite Proxying development mode should proxy non-existent page correctly",
"Trailing Slash Rewrite Proxying development mode should resolve a catch-all page correctly",
......@@ -21879,7 +21879,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/tsconfig-verifier/test/index.test.js": {
"test/integration/tsconfig-verifier/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21908,7 +21908,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/turborepo-access-trace/test/index.test.js": {
"test/integration/turborepo-access-trace/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21917,7 +21917,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/turbotrace-with-webpack-worker/test/index.test.js": {
"test/integration/turbotrace-with-webpack-worker/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21926,7 +21926,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typeof-window-replace/test/index.test.js": {
"test/integration/typeof-window-replace/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21937,7 +21937,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-app-type-declarations/test/index.test.js": {
"test/integration/typescript-app-type-declarations/test/index.test.ts": {
"passed": [
"TypeScript App Type Declarations should not touch an existing correct next-env.d.ts",
"TypeScript App Type Declarations should overwrite next-env.d.ts if an incorrect one exists",
......@@ -21948,14 +21948,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-baseurl/test/index.test.js": {
"test/integration/typescript-baseurl/test/index.test.ts": {
"passed": ["TypeScript Features default behavior should render the page"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-custom-tsconfig/test/index.test.js": {
"test/integration/typescript-custom-tsconfig/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21964,7 +21964,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-external-dir/project/test/index.test.js": {
"test/integration/typescript-external-dir/project/test/index.test.ts": {
"passed": [
"TypeScript Features default behavior should render the page with external TS/TSX dependencies"
],
......@@ -22048,7 +22048,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript/test/index.test.js": {
"test/integration/typescript/test/index.test.ts": {
"passed": [
"TypeScript Features default behavior should not fail to render when an inactive page has an error",
"TypeScript Features default behavior should render the angle bracket type assertions page",
......@@ -17017,7 +17017,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/re-export-all-exports-from-page-disallowed/test/index.test.js": {
"test/integration/re-export-all-exports-from-page-disallowed/test/index.test.ts": {
"passed": [
"Re-export all exports from page is disallowed production mode builds without error when no `export * from \"...\"` is used in pages",
"Re-export all exports from page is disallowed production mode shows error when a page re-export all exports"
......@@ -17057,7 +17057,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/react-profiling-mode/test/index.test.js": {
"test/integration/react-profiling-mode/test/index.test.ts": {
"passed": [
"React Profiling Mode production mode with config enabled should have used the react-dom profiling bundle for client component",
"React Profiling Mode production mode with config enabled should have used the react-dom profiling bundle for pages",
......@@ -17069,7 +17069,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/read-only-source-hmr/test/index.test.js": {
"test/integration/read-only-source-hmr/test/index.test.ts": {
"passed": [
"Read-only source HMR should detect a new page",
"Read-only source HMR should detect changes to a page",
......@@ -17080,7 +17080,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/relay-graphql-swc-multi-project/test/index.test.js": {
"test/integration/relay-graphql-swc-multi-project/test/index.test.ts": {
"passed": [
"Relay Compiler Transform - Multi Project Config production mode project-a should resolve index page correctly",
"Relay Compiler Transform - Multi Project Config production mode project-b should resolve index page correctly"
......@@ -17093,7 +17093,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/relay-graphql-swc-single-project/test/index.test.js": {
"test/integration/relay-graphql-swc-single-project/test/index.test.ts": {
"passed": [
"Relay Compiler Transform - Single Project Config production mode should resolve index page correctly"
],
......@@ -17104,14 +17104,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-module-error/test/index.test.js": {
"test/integration/render-error-on-module-error/test/index.test.ts": {
"passed": ["Module Init Error production mode should render error page"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-top-level-error/with-get-initial-props/test/index.test.js": {
"test/integration/render-error-on-top-level-error/with-get-initial-props/test/index.test.ts": {
"passed": [
"Top Level Error production mode should render error page with getInitialProps"
],
......@@ -17120,14 +17120,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-top-level-error/without-get-initial-props/test/index.test.js": {
"test/integration/render-error-on-top-level-error/without-get-initial-props/test/index.test.ts": {
"passed": ["Top Level Error production mode should render error page"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/integration/repeated-slashes/test/index.test.js": {
"test/integration/repeated-slashes/test/index.test.ts": {
"passed": [
"404 handling custom _error next dev should handle backslashes correctly",
"404 handling custom _error next dev should handle double slashes correctly",
......@@ -17205,7 +17205,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/required-server-files-ssr-404/test/index.test.js": {
"test/integration/required-server-files-ssr-404/test/index.test.ts": {
"passed": [
"Required Server Files production mode partial optional catch-all route should render /partial-catch-all/hello.com",
"Required Server Files production mode partial optional catch-all route should render /partial-catch-all/hello.com/hello",
......@@ -17237,7 +17237,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/revalidate-as-path/test/index.test.js": {
"test/integration/revalidate-as-path/test/index.test.ts": {
"passed": [
"Revalidate asPath Normalizing production mode should render with correct asPath with / requested",
"Revalidate asPath Normalizing production mode should render with correct asPath with /_next/data /another/index requested",
......@@ -17249,7 +17249,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrite-with-browser-history/test/index.test.js": {
"test/integration/rewrite-with-browser-history/test/index.test.ts": {
"passed": [
"rewrites persist with browser history actions production mode back-button should go back to rewritten path successfully"
],
......@@ -17260,7 +17260,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-client-resolving/test/index.test.js": {
"test/integration/rewrites-client-resolving/test/index.test.ts": {
"passed": [
"Client-side rewrites resolving production mode should break rewrites chain after matching /category",
"Client-side rewrites resolving production mode should break rewrites chain when dynamic catch-all route matches",
......@@ -17279,7 +17279,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-destination-query-array/test/index.test.js": {
"test/integration/rewrites-destination-query-array/test/index.test.ts": {
"passed": [
"rewrites destination query production mode should contain all values passed in param as array"
],
......@@ -17290,7 +17290,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-has-condition/test/index.test.js": {
"test/integration/rewrites-has-condition/test/index.test.ts": {
"passed": [
"rewrites has condition production mode should navigate to a has rewrite without error",
"rewrites has condition production mode should navigate to a simple rewrite without error"
......@@ -17303,7 +17303,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-manual-href-as/test/index.test.js": {
"test/integration/rewrites-manual-href-as/test/index.test.ts": {
"passed": [
"rewrites manual href/as production mode should allow manual href/as on dynamic page",
"rewrites manual href/as production mode should allow manual href/as on index page"
......@@ -17316,7 +17316,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/root-catchall-cache/test/index.test.js": {
"test/integration/root-catchall-cache/test/index.test.ts": {
"passed": ["Root Catch-all Cache production mode should cache / correctly"],
"failed": [],
"pending": [],
......@@ -17334,7 +17334,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-index/test/index.test.js": {
"test/integration/route-index/test/index.test.ts": {
"passed": [
"Route index handling production mode should handle / correctly",
"Route index handling production mode should handle /index correctly",
......@@ -17353,7 +17353,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-indexes/test/index.test.js": {
"test/integration/route-indexes/test/index.test.ts": {
"passed": [
"Route indexes handling production mode should handle / correctly",
"Route indexes handling production mode should handle /api/sub correctly",
......@@ -17394,7 +17394,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-load-cancel-css/test/index.test.js": {
"test/integration/route-load-cancel-css/test/index.test.ts": {
"passed": [
"route cancel via CSS production mode should cancel slow page loads on re-navigation"
],
......@@ -17403,7 +17403,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-load-cancel/test/index.test.js": {
"test/integration/route-load-cancel/test/index.test.ts": {
"passed": [
"next/dynamic production mode should cancel slow page loads on re-navigation"
],
......@@ -17414,7 +17414,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-hash-navigation/test/index.test.js": {
"test/integration/router-hash-navigation/test/index.test.ts": {
"passed": [
"router.isReady production mode scrolls to top when href=\"/\" and url already contains a hash"
],
......@@ -17425,7 +17425,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-is-ready-app-gip/test/index.test.js": {
"test/integration/router-is-ready-app-gip/test/index.test.ts": {
"passed": [
"router.isReady with appGip production mode isReady should be true after query update for getStaticProps page with query",
"router.isReady with appGip production mode isReady should be true immediately for getStaticProps page without query",
......@@ -17442,7 +17442,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-is-ready/test/index.test.js": {
"test/integration/router-is-ready/test/index.test.ts": {
"passed": [
"router.isReady production mode isReady should be true after query update for auto-export page with query",
"router.isReady production mode isReady should be true after query update for dynamic auto-export page with query",
......@@ -17471,7 +17471,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-prefetch/test/index.test.js": {
"test/integration/router-prefetch/test/index.test.ts": {
"passed": [
"Router prefetch production mode should resolve prefetch promise with invalid href"
],
......@@ -17483,7 +17483,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-rerender/test/index.test.js": {
"test/integration/router-rerender/test/index.test.ts": {
"passed": [
"router rerender production mode with middleware should not trigger unnecessary rerenders when middleware is used"
],
......@@ -17529,7 +17529,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/scroll-back-restoration/test/index.test.js": {
"test/integration/scroll-back-restoration/test/index.test.ts": {
"passed": [
"Scroll Back Restoration Support production mode should restore the scroll position on navigating back"
],
......@@ -17540,7 +17540,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/scroll-forward-restoration/test/index.test.js": {
"test/integration/scroll-forward-restoration/test/index.test.ts": {
"passed": [
"Scroll Forward Restoration Support production mode should restore the scroll position on navigating forward"
],
......@@ -17551,7 +17551,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/server-asset-modules/test/index.test.js": {
"test/integration/server-asset-modules/test/index.test.ts": {
"passed": [
"serverside asset modules production mode should enable reading local files in api routes"
],
......@@ -17562,7 +17562,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/server-side-dev-errors/test/index.test.js": {
"test/integration/server-side-dev-errors/test/index.test.ts": {
"passed": [
"server-side dev errors should show server-side error for api route correctly",
"server-side dev errors should show server-side error for dynamic api route correctly",
......@@ -17586,7 +17586,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/src-dir-support-double-dir/test/index.test.js": {
"test/integration/src-dir-support-double-dir/test/index.test.ts": {
"passed": [
"Dynamic Routing production mode should render from pages",
"Dynamic Routing production mode should render not render from src/pages"
......@@ -17599,7 +17599,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/src-dir-support/test/index.test.js": {
"test/integration/src-dir-support/test/index.test.ts": {
"passed": [
"Dynamic Routing production mode should navigate to a dynamic page successfully",
"Dynamic Routing production mode should navigate to a nested dynamic page successfully",
......@@ -17624,7 +17624,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/ssg-data-404/test/index.test.js": {
"test/integration/ssg-data-404/test/index.test.ts": {
"passed": [
"SSG data 404 production mode should hard navigate when a new deployment occurs"
],
......@@ -17635,7 +17635,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/ssg-dynamic-routes-404-page/test/index.test.js": {
"test/integration/ssg-dynamic-routes-404-page/test/index.test.ts": {
"passed": [
"Custom 404 Page for static site generation with dynamic routes production mode should build successfully",
"Custom 404 Page for static site generation with dynamic routes production mode should respond to a not existing page with 404"
......@@ -17647,7 +17647,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/static-404/test/index.test.js": {
"test/integration/static-404/test/index.test.ts": {
"passed": [
"Static 404 page With config enabled production mode should export 404 page without custom _error",
"Static 404 page With config enabled production mode should not export 404 page with custom _error GIP",
......@@ -17658,7 +17658,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/static-page-name/test/index.test.js": {
"test/integration/static-page-name/test/index.test.ts": {
"passed": [
"Static Page Name production mode should navigate to static page name correctly",
"Static Page Name production mode should render the page via SSR correctly"
......@@ -17671,7 +17671,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/styled-jsx-plugin/test/index.test.js": {
"test/integration/styled-jsx-plugin/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -17680,7 +17680,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/config.test.js": {
"test/integration/telemetry/test/config.test.ts": {
"passed": [
"config telemetry production mode detects i18n and image configs for session start",
"config telemetry production mode detects output config for session start",
......@@ -17713,7 +17713,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/index.test.js": {
"test/integration/telemetry/test/index.test.ts": {
"passed": [
"Telemetry CLI can disable telemetry with env NEXT_TELEMETRY_DISABLED",
"Telemetry CLI can disable telemetry with flag",
......@@ -17742,7 +17742,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/page-features.test.js": {
"test/integration/telemetry/test/page-features.test.ts": {
"passed": [
"page features telemetry detects --turbo correctly for `next dev`",
"page features telemetry detects --turbo correctly for `next dev` stopped"
......@@ -17752,7 +17752,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slash-dist/test/index.test.js": {
"test/integration/trailing-slash-dist/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -17761,7 +17761,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slashes-href-resolving/test/index.test.js": {
"test/integration/trailing-slashes-href-resolving/test/index.test.ts": {
"passed": [
"href resolving trailing-slash production mode should preload SSG routes correctly",
"href resolving trailing-slash production mode should route to /another/ correctly",
......@@ -17783,7 +17783,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slashes-rewrite/test/index.test.js": {
"test/integration/trailing-slashes-rewrite/test/index.test.ts": {
"passed": [
"Trailing Slash Rewrite Proxying production mode should proxy non-existent page correctly",
"Trailing Slash Rewrite Proxying production mode should resolve a catch-all page correctly",
......@@ -17802,7 +17802,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/tsconfig-verifier/test/index.test.js": {
"test/integration/tsconfig-verifier/test/index.test.ts": {
"passed": [
"tsconfig.json verifier Creates a default tsconfig.json when one is missing",
"tsconfig.json verifier Updates an existing tsconfig.json without losing comments",
......@@ -17836,7 +17836,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/turborepo-access-trace/test/index.test.js": {
"test/integration/turborepo-access-trace/test/index.test.ts": {
"passed": [
"build with proxy trace production mode should build and output trace correctly"
],
......@@ -17845,7 +17845,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/turbotrace-with-webpack-worker/test/index.test.js": {
"test/integration/turbotrace-with-webpack-worker/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -17854,7 +17854,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typeof-window-replace/test/index.test.js": {
"test/integration/typeof-window-replace/test/index.test.ts": {
"passed": [
"typeof window replace production mode Does not replace `typeof window` for `node_modules` code",
"typeof window replace production mode Replaces `typeof window` with object for client code",
......@@ -17865,7 +17865,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-app-type-declarations/test/index.test.js": {
"test/integration/typescript-app-type-declarations/test/index.test.ts": {
"passed": [
"TypeScript App Type Declarations should not touch an existing correct next-env.d.ts",
"TypeScript App Type Declarations should overwrite next-env.d.ts if an incorrect one exists",
......@@ -17876,14 +17876,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-baseurl/test/index.test.js": {
"test/integration/typescript-baseurl/test/index.test.ts": {
"passed": ["TypeScript Features default behavior should render the page"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-custom-tsconfig/test/index.test.js": {
"test/integration/typescript-custom-tsconfig/test/index.test.ts": {
"passed": [
"Custom TypeScript Config production mode should warn when using custom typescript path"
],
......@@ -17892,7 +17892,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-external-dir/project/test/index.test.js": {
"test/integration/typescript-external-dir/project/test/index.test.ts": {
"passed": [
"TypeScript Features default behavior should render the page with external TS/TSX dependencies"
],
......@@ -17975,7 +17975,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript/test/index.test.js": {
"test/integration/typescript/test/index.test.ts": {
"passed": [
"TypeScript Features default behavior should not fail to render when an inactive page has an error",
"TypeScript Features default behavior should render the angle bracket type assertions page",
......@@ -20543,7 +20543,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/re-export-all-exports-from-page-disallowed/test/index.test.js": {
"test/integration/re-export-all-exports-from-page-disallowed/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -20584,7 +20584,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/react-profiling-mode/test/index.test.js": {
"test/integration/react-profiling-mode/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -20596,7 +20596,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/read-only-source-hmr/test/index.test.js": {
"test/integration/read-only-source-hmr/test/index.test.ts": {
"passed": [
"Read-only source HMR should detect a new page",
"Read-only source HMR should detect changes to a page",
......@@ -20607,7 +20607,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/relay-graphql-swc-multi-project/test/index.test.js": {
"test/integration/relay-graphql-swc-multi-project/test/index.test.ts": {
"passed": [
"Relay Compiler Transform - Multi Project Config development mode project-a should resolve index page correctly",
"Relay Compiler Transform - Multi Project Config development mode project-b should resolve index page correctly"
......@@ -20620,7 +20620,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/relay-graphql-swc-single-project/test/index.test.js": {
"test/integration/relay-graphql-swc-single-project/test/index.test.ts": {
"passed": [
"Relay Compiler Transform - Single Project Config development mode should resolve index page correctly"
],
......@@ -20631,14 +20631,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-module-error/test/index.test.js": {
"test/integration/render-error-on-module-error/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": ["Module Init Error production mode should render error page"],
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-top-level-error/with-get-initial-props/test/index.test.js": {
"test/integration/render-error-on-top-level-error/with-get-initial-props/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -20647,14 +20647,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/render-error-on-top-level-error/without-get-initial-props/test/index.test.js": {
"test/integration/render-error-on-top-level-error/without-get-initial-props/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": ["Top Level Error production mode should render error page"],
"flakey": [],
"runtimeError": false
},
"test/integration/repeated-slashes/test/index.test.js": {
"test/integration/repeated-slashes/test/index.test.ts": {
"passed": [
"404 handling custom _error next dev should handle backslashes correctly",
"404 handling custom _error next dev should handle double slashes correctly",
......@@ -20733,7 +20733,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/required-server-files-ssr-404/test/index.test.js": {
"test/integration/required-server-files-ssr-404/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -20765,7 +20765,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/revalidate-as-path/test/index.test.js": {
"test/integration/revalidate-as-path/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -20777,7 +20777,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrite-with-browser-history/test/index.test.js": {
"test/integration/rewrite-with-browser-history/test/index.test.ts": {
"passed": [
"rewrites persist with browser history actions development mode back-button should go back to rewritten path successfully"
],
......@@ -20788,7 +20788,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-client-resolving/test/index.test.js": {
"test/integration/rewrites-client-resolving/test/index.test.ts": {
"passed": [
"Client-side rewrites resolving development mode should break rewrites chain after matching /category",
"Client-side rewrites resolving development mode should break rewrites chain when dynamic catch-all route matches",
......@@ -20807,7 +20807,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-destination-query-array/test/index.test.js": {
"test/integration/rewrites-destination-query-array/test/index.test.ts": {
"passed": [
"rewrites destination query development mode should contain all values passed in param as array"
],
......@@ -20818,7 +20818,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-has-condition/test/index.test.js": {
"test/integration/rewrites-has-condition/test/index.test.ts": {
"passed": [
"rewrites has condition development mode should navigate to a has rewrite without error",
"rewrites has condition development mode should navigate to a simple rewrite without error"
......@@ -20831,7 +20831,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/rewrites-manual-href-as/test/index.test.js": {
"test/integration/rewrites-manual-href-as/test/index.test.ts": {
"passed": [
"rewrites manual href/as development mode should allow manual href/as on dynamic page",
"rewrites manual href/as development mode should allow manual href/as on index page"
......@@ -20844,7 +20844,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/root-catchall-cache/test/index.test.js": {
"test/integration/root-catchall-cache/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -20864,7 +20864,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-index/test/index.test.js": {
"test/integration/route-index/test/index.test.ts": {
"passed": [
"Route index handling development mode should handle / correctly",
"Route index handling development mode should handle /index correctly",
......@@ -20883,7 +20883,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-indexes/test/index.test.js": {
"test/integration/route-indexes/test/index.test.ts": {
"passed": [
"Route indexes handling development mode should handle / correctly",
"Route indexes handling development mode should handle /api/sub correctly",
......@@ -20924,7 +20924,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-load-cancel-css/test/index.test.js": {
"test/integration/route-load-cancel-css/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -20933,7 +20933,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/route-load-cancel/test/index.test.js": {
"test/integration/route-load-cancel/test/index.test.ts": {
"passed": [
"next/dynamic development mode should cancel slow page loads on re-navigation"
],
......@@ -20944,7 +20944,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-hash-navigation/test/index.test.js": {
"test/integration/router-hash-navigation/test/index.test.ts": {
"passed": [
"router.isReady development mode scrolls to top when href=\"/\" and url already contains a hash"
],
......@@ -20955,7 +20955,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-is-ready-app-gip/test/index.test.js": {
"test/integration/router-is-ready-app-gip/test/index.test.ts": {
"passed": [
"router.isReady with appGip development mode isReady should be true after query update for getStaticProps page with query",
"router.isReady with appGip development mode isReady should be true immediately for getStaticProps page without query",
......@@ -20972,7 +20972,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-is-ready/test/index.test.js": {
"test/integration/router-is-ready/test/index.test.ts": {
"passed": [
"router.isReady development mode isReady should be true after query update for auto-export page with query",
"router.isReady development mode isReady should be true after query update for dynamic auto-export page with query",
......@@ -21001,7 +21001,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-prefetch/test/index.test.js": {
"test/integration/router-prefetch/test/index.test.ts": {
"passed": [
"Router prefetch development mode should not prefetch",
"Router prefetch development mode should resolve prefetch promise"
......@@ -21013,7 +21013,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/router-rerender/test/index.test.js": {
"test/integration/router-rerender/test/index.test.ts": {
"passed": [
"router rerender development mode with middleware should not trigger unnecessary rerenders when middleware is used"
],
......@@ -21060,7 +21060,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/scroll-back-restoration/test/index.test.js": {
"test/integration/scroll-back-restoration/test/index.test.ts": {
"passed": [
"Scroll Back Restoration Support development mode should restore the scroll position on navigating back"
],
......@@ -21071,7 +21071,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/scroll-forward-restoration/test/index.test.js": {
"test/integration/scroll-forward-restoration/test/index.test.ts": {
"passed": [
"Scroll Forward Restoration Support development mode should restore the scroll position on navigating forward"
],
......@@ -21082,7 +21082,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/server-asset-modules/test/index.test.js": {
"test/integration/server-asset-modules/test/index.test.ts": {
"passed": [
"serverside asset modules development mode should enable reading local files in api routes"
],
......@@ -21093,7 +21093,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/server-side-dev-errors/test/index.test.js": {
"test/integration/server-side-dev-errors/test/index.test.ts": {
"passed": [
"server-side dev errors should show server-side error for api route correctly",
"server-side dev errors should show server-side error for dynamic api route correctly",
......@@ -21117,7 +21117,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/src-dir-support-double-dir/test/index.test.js": {
"test/integration/src-dir-support-double-dir/test/index.test.ts": {
"passed": [
"Dynamic Routing development mode should render from pages",
"Dynamic Routing development mode should render not render from src/pages"
......@@ -21130,7 +21130,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/src-dir-support/test/index.test.js": {
"test/integration/src-dir-support/test/index.test.ts": {
"passed": [
"Dynamic Routing development mode should navigate to a dynamic page successfully",
"Dynamic Routing development mode should navigate to a nested dynamic page successfully",
......@@ -21155,7 +21155,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/ssg-data-404/test/index.test.js": {
"test/integration/ssg-data-404/test/index.test.ts": {
"passed": [
"SSG data 404 development mode should hard navigate when a new deployment occurs"
],
......@@ -21166,7 +21166,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/ssg-dynamic-routes-404-page/test/index.test.js": {
"test/integration/ssg-dynamic-routes-404-page/test/index.test.ts": {
"passed": [
"Custom 404 Page for static site generation with dynamic routes development mode should respond to a not existing page with 404"
],
......@@ -21178,7 +21178,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/static-404/test/index.test.js": {
"test/integration/static-404/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21189,7 +21189,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/static-page-name/test/index.test.js": {
"test/integration/static-page-name/test/index.test.ts": {
"passed": [
"Static Page Name development mode should navigate to static page name correctly",
"Static Page Name development mode should render the page via SSR correctly"
......@@ -21202,7 +21202,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/styled-jsx-plugin/test/index.test.js": {
"test/integration/styled-jsx-plugin/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21211,7 +21211,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/config.test.js": {
"test/integration/telemetry/test/config.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21243,7 +21243,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/index.test.js": {
"test/integration/telemetry/test/index.test.ts": {
"passed": [
"Telemetry CLI can disable telemetry with env NEXT_TELEMETRY_DISABLED",
"Telemetry CLI can disable telemetry with flag",
......@@ -21273,7 +21273,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/telemetry/test/page-features.test.js": {
"test/integration/telemetry/test/page-features.test.ts": {
"passed": [
"page features telemetry detects --turbo correctly for `next dev`",
"page features telemetry detects --turbo correctly for `next dev` stopped"
......@@ -21283,7 +21283,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slash-dist/test/index.test.js": {
"test/integration/trailing-slash-dist/test/index.test.ts": {
"passed": [
"Trailing slash in distDir development mode supports trailing slash"
],
......@@ -21292,7 +21292,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slashes-href-resolving/test/index.test.js": {
"test/integration/trailing-slashes-href-resolving/test/index.test.ts": {
"passed": [
"href resolving trailing-slash development mode should route to /another/ correctly",
"href resolving trailing-slash development mode should route to /blog/another/ correctly",
......@@ -21314,7 +21314,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/trailing-slashes-rewrite/test/index.test.js": {
"test/integration/trailing-slashes-rewrite/test/index.test.ts": {
"passed": [
"Trailing Slash Rewrite Proxying development mode should proxy non-existent page correctly",
"Trailing Slash Rewrite Proxying development mode should resolve a catch-all page correctly",
......@@ -21333,7 +21333,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/tsconfig-verifier/test/index.test.js": {
"test/integration/tsconfig-verifier/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21366,7 +21366,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/turborepo-access-trace/test/index.test.js": {
"test/integration/turborepo-access-trace/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21375,7 +21375,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/turbotrace-with-webpack-worker/test/index.test.js": {
"test/integration/turbotrace-with-webpack-worker/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21384,7 +21384,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typeof-window-replace/test/index.test.js": {
"test/integration/typeof-window-replace/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21395,7 +21395,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-app-type-declarations/test/index.test.js": {
"test/integration/typescript-app-type-declarations/test/index.test.ts": {
"passed": [
"TypeScript App Type Declarations should not touch an existing correct next-env.d.ts",
"TypeScript App Type Declarations should overwrite next-env.d.ts if an incorrect one exists",
......@@ -21406,14 +21406,14 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-baseurl/test/index.test.js": {
"test/integration/typescript-baseurl/test/index.test.ts": {
"passed": ["TypeScript Features default behavior should render the page"],
"failed": [],
"pending": [],
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-custom-tsconfig/test/index.test.js": {
"test/integration/typescript-custom-tsconfig/test/index.test.ts": {
"passed": [],
"failed": [],
"pending": [
......@@ -21422,7 +21422,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript-external-dir/project/test/index.test.js": {
"test/integration/typescript-external-dir/project/test/index.test.ts": {
"passed": [
"TypeScript Features default behavior should render the page with external TS/TSX dependencies"
],
......@@ -21505,7 +21505,7 @@
"flakey": [],
"runtimeError": false
},
"test/integration/typescript/test/index.test.js": {
"test/integration/typescript/test/index.test.ts": {
"passed": [
"TypeScript Features default behavior should not fail to render when an inactive page has an error",
"TypeScript Features default behavior should render the angle bracket type assertions page",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment