Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
0cebaa1a
Unverified
Commit
0cebaa1a
authored
Nov 03, 2025
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Nov 03, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] Move all files to .ts (6/6) (#85641)
parent
089ca2c0
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
9 additions
and
19 deletions
+9
-19
index.test.ts
.../integration/typescript-filtered-files/test/index.test.ts
+0
-0
index.test.ts
test/integration/typescript-hmr/test/index.test.ts
+5
-13
index.test.ts
test/integration/typescript-ignore-errors/test/index.test.ts
+0
-0
index.test.ts
...on/typescript-only-remove-type-imports/test/index.test.ts
+0
-0
index.test.ts
test/integration/typescript-paths/test/index.test.ts
+1
-1
index.test.ts
...pescript-workspaces-paths/packages/www/test/index.test.ts
+1
-1
tsconfig.json
test/integration/typescript-workspaces-paths/tsconfig.json
+2
-1
index.test.ts
test/integration/undefined-webpack-config/test/index.test.ts
+0
-3
index.test.ts
test/integration/webpack-bun-externals/test/index.test.ts
+0
-0
index.test.ts
...egration/webpack-config-extensionalias/test/index.test.ts
+0
-0
index.test.ts
test/integration/webpack-config-mainjs/test/index.test.ts
+0
-0
index.test.ts
test/integration/webpack-require-hook/test/index.test.ts
+0
-0
index.test.ts
test/integration/with-electron/test/index.test.ts
+0
-0
index.test.ts
test/integration/worker-webpack5/test/index.test.ts
+0
-0
utils.test.ts
test/production/jest/rsc/lib/utils.test.ts
+0
-0
No files found.
test/integration/typescript-filtered-files/test/index.test.
j
s
→
test/integration/typescript-filtered-files/test/index.test.
t
s
View file @
0cebaa1a
File moved
test/integration/typescript-hmr/test/index.test.
j
s
→
test/integration/typescript-hmr/test/index.test.
t
s
View file @
0cebaa1a
...
@@ -24,7 +24,7 @@ describe('TypeScript HMR', () => {
...
@@ -24,7 +24,7 @@ describe('TypeScript HMR', () => {
// Events can be finicky in CI. This switches to a more reliable
// Events can be finicky in CI. This switches to a more reliable
// polling method.
// polling method.
CHOKIDAR_USEPOLLING
:
'true'
,
CHOKIDAR_USEPOLLING
:
'true'
,
CHOKIDAR_INTERVAL
:
500
,
CHOKIDAR_INTERVAL
:
'500'
,
},
},
})
})
})
})
...
@@ -102,18 +102,10 @@ describe('TypeScript HMR', () => {
...
@@ -102,18 +102,10 @@ describe('TypeScript HMR', () => {
await
new
Promise
((
resolve
)
=>
setTimeout
(
resolve
,
500
))
await
new
Promise
((
resolve
)
=>
setTimeout
(
resolve
,
500
))
}
}
await
fs
.
writeFile
(
pagePath
,
errContent
)
await
fs
.
writeFile
(
pagePath
,
errContent
)
const
res
=
await
check
(
await
check
(
async
()
=>
{
async
()
=>
{
const
html
=
await
browser
.
eval
(
'document.querySelector("p").innerText'
)
const
html
=
await
browser
.
eval
(
return
html
.
match
(
/hello with error/
)
?
'success'
:
'fail'
'document.querySelector("p").innerText'
},
/success/
)
)
return
html
.
match
(
/hello with error/
)
?
'success'
:
'fail'
},
/success/
,
false
)
expect
(
res
).
toBe
(
true
)
}
finally
{
}
finally
{
if
(
browser
)
browser
.
close
()
if
(
browser
)
browser
.
close
()
await
fs
.
writeFile
(
pagePath
,
origContent
)
await
fs
.
writeFile
(
pagePath
,
origContent
)
...
...
test/integration/typescript-ignore-errors/test/index.test.
j
s
→
test/integration/typescript-ignore-errors/test/index.test.
t
s
View file @
0cebaa1a
File moved
test/integration/typescript-only-remove-type-imports/test/index.test.
j
s
→
test/integration/typescript-only-remove-type-imports/test/index.test.
t
s
View file @
0cebaa1a
File moved
test/integration/typescript-paths/test/index.test.
j
s
→
test/integration/typescript-paths/test/index.test.
t
s
View file @
0cebaa1a
...
@@ -16,7 +16,7 @@ const appDir = join(__dirname, '..')
...
@@ -16,7 +16,7 @@ const appDir = join(__dirname, '..')
let
appPort
let
appPort
let
app
let
app
async
function
get
$
(
path
,
query
)
{
async
function
get
$
(
path
,
query
?:
any
)
{
const
html
=
await
renderViaHTTP
(
appPort
,
path
,
query
)
const
html
=
await
renderViaHTTP
(
appPort
,
path
,
query
)
return
cheerio
.
load
(
html
)
return
cheerio
.
load
(
html
)
}
}
...
...
test/integration/typescript-workspaces-paths/packages/www/test/index.test.
j
s
→
test/integration/typescript-workspaces-paths/packages/www/test/index.test.
t
s
View file @
0cebaa1a
...
@@ -8,7 +8,7 @@ const appDir = join(__dirname, '..')
...
@@ -8,7 +8,7 @@ const appDir = join(__dirname, '..')
let
appPort
let
appPort
let
app
let
app
async
function
get
$
(
path
,
query
)
{
async
function
get
$
(
path
,
query
?:
any
)
{
const
html
=
await
renderViaHTTP
(
appPort
,
path
,
query
)
const
html
=
await
renderViaHTTP
(
appPort
,
path
,
query
)
return
cheerio
.
load
(
html
)
return
cheerio
.
load
(
html
)
}
}
...
...
test/integration/typescript-workspaces-paths/tsconfig.json
View file @
0cebaa1a
...
@@ -27,5 +27,6 @@
...
@@ -27,5 +27,6 @@
"moduleResolution"
:
"bundler"
,
"moduleResolution"
:
"bundler"
,
"resolveJsonModule"
:
true
,
"resolveJsonModule"
:
true
,
"isolatedModules"
:
true
"isolatedModules"
:
true
}
},
"exclude"
:
[
"node_modules"
,
"**/*.test.ts"
,
"**/*.test.tsx"
]
}
}
test/integration/undefined-webpack-config/test/index.test.
j
s
→
test/integration/undefined-webpack-config/test/index.test.
t
s
View file @
0cebaa1a
...
@@ -31,9 +31,6 @@ const expectedErr =
...
@@ -31,9 +31,6 @@ const expectedErr =
onStderr
(
msg
)
{
onStderr
(
msg
)
{
output
+=
msg
||
''
output
+=
msg
||
''
},
},
ontStdout
(
msg
)
{
output
+=
msg
||
''
},
})
})
expect
(
output
).
toMatch
(
expectedErr
)
expect
(
output
).
toMatch
(
expectedErr
)
...
...
test/integration/webpack-bun-externals/test/index.test.
j
s
→
test/integration/webpack-bun-externals/test/index.test.
t
s
View file @
0cebaa1a
File moved
test/integration/webpack-config-extensionalias/test/index.test.
j
s
→
test/integration/webpack-config-extensionalias/test/index.test.
t
s
View file @
0cebaa1a
File moved
test/integration/webpack-config-mainjs/test/index.test.
j
s
→
test/integration/webpack-config-mainjs/test/index.test.
t
s
View file @
0cebaa1a
File moved
test/integration/webpack-require-hook/test/index.test.
j
s
→
test/integration/webpack-require-hook/test/index.test.
t
s
View file @
0cebaa1a
File moved
test/integration/with-electron/test/index.test.
j
s
→
test/integration/with-electron/test/index.test.
t
s
View file @
0cebaa1a
File moved
test/integration/worker-webpack5/test/index.test.
j
s
→
test/integration/worker-webpack5/test/index.test.
t
s
View file @
0cebaa1a
File moved
test/production/jest/rsc/lib/utils.test.
j
s
→
test/production/jest/rsc/lib/utils.test.
t
s
View file @
0cebaa1a
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment