Skip to content

Commit 66005c7

Browse files
committed
Revert "Turbopack build: Fix node-file-trace test"
This reverts commit 2885568.
1 parent 00deea5 commit 66005c7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

test/production/pages-dir/production/test/index.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ describe('Production Usage', () => {
297297
if (files.some((file) => item.test(file))) {
298298
return true
299299
}
300-
require('console').error(
300+
console.error(
301301
`Failed to find ${item} for page ${check.page} in`,
302302
files
303303
)

test/turbopack-build-tests-manifest.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -18486,10 +18486,9 @@
1848618486
"Production Usage should remove placeholder for next/image correctly",
1848718487
"Production Usage should replace static pages with HTML files",
1848818488
"Production Usage should respond with 405 for POST to static page",
18489-
"Production Usage should warn when prefetch is true",
18490-
"Production Usage should output traces"
18489+
"Production Usage should warn when prefetch is true"
1849118490
],
18492-
"failed": [],
18491+
"failed": ["Production Usage should output traces"],
1849318492
"pending": [
1849418493
"Production Usage With Security Related Issues should handle invalid URL properly",
1849518494
"Production Usage With basic usage should allow etag header support with getServerSideProps",

0 commit comments

Comments
 (0)