Skip to content

Commit

Permalink
test(turbopack): update test manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Sep 19, 2023
1 parent 810509e commit 97f158f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 3 additions & 2 deletions test/integration/app-dir-export/test/utils.ts
Expand Up @@ -30,7 +30,8 @@ const apiJson = new File(join(appDir, 'app/api/json/route.js'))
export const expectedWhenTrailingSlashTrue = [
'404.html',
'404/index.html',
'_next/static/media/test.3f1a293b.png',
// Turbopack and plain next.js have different hash output for the file name
expect.stringMatching(/_next\/static\/media\/test\.[0-9a-f]+\.png/),
'_next/static/test-build-id/_buildManifest.js',
'_next/static/test-build-id/_ssgManifest.js',
'another/first/index.html',
Expand All @@ -53,7 +54,7 @@ export const expectedWhenTrailingSlashTrue = [

const expectedWhenTrailingSlashFalse = [
'404.html',
'_next/static/media/test.3f1a293b.png',
expect.stringMatching(/_next\/static\/media\/test\.[0-9a-f]+\.png/),
'_next/static/test-build-id/_buildManifest.js',
'_next/static/test-build-id/_ssgManifest.js',
'another.html',
Expand Down
5 changes: 1 addition & 4 deletions test/turbopack-tests-manifest.js
Expand Up @@ -113,6 +113,7 @@ const enabledTests = [
'test/e2e/typescript-version-warning/typescript-version-warning.test.ts',
'test/e2e/undici-fetch/index.test.ts',
'test/integration/api-support/test/index.test.js',
'test/integration/app-dir-export/test/config.test.ts',
'test/integration/404-page/test/index.test.js',
'test/integration/404-page-app/test/index.test.js',
'test/integration/404-page-custom-error/test/index.test.js',
Expand Down Expand Up @@ -147,10 +148,6 @@ const enabledTests = [
'test/production/jest/rsc/lib/utils.test.js',
'test/production/jest/transpile-packages.test.ts',
'test/production/postcss-plugin-config-as-string/index.test.ts',
'test/production/suppo.ts',

// disabled due to nextConfig.distDir
//'test/integration/trailing-slash-dist/test/index.test.js',
]

module.exports = { enabledTests }
Expand Down

0 comments on commit 97f158f

Please sign in to comment.