Skip to content

Commit 0f385e1

Browse files
authored
chore: fix tests for 14.1.0 (#183)
1 parent 8b5687c commit 0f385e1

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

tests/e2e-skip-retry.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"test/e2e/app-dir/metadata-missing-metadata-base/index.test.ts",
8989
"test/e2e/app-dir/metadata-suspense/index.test.ts",
9090
"test/e2e/app-dir/metadata/metadata.test.ts",
91+
"test/e2e/app-dir/missing-suspense-with-csr-bailout/missing-suspense-with-csr-bailout.test.ts",
9192
"test/e2e/app-dir/mjs-as-extension/mjs-as-extension.test.ts",
9293
"test/e2e/app-dir/modularizeimports/modularizeimports.test.ts",
9394
"test/e2e/app-dir/navigation/navigation.test.ts",
@@ -205,7 +206,7 @@
205206
"test/e2e/middleware-rewrites/test/index.test.ts",
206207
"test/e2e/middleware-shallow-link/index.test.ts",
207208
"test/e2e/middleware-trailing-slash/test/index.test.ts",
208-
"test/e2e/module-layer/index.test.ts",
209+
"test/e2e/module-layer/module-layer.test.ts",
209210
"test/e2e/multi-zone/multi-zone.test.ts",
210211
"test/e2e/new-link-behavior/child-a-tag-error.test.ts",
211212
"test/e2e/new-link-behavior/index.test.ts",

tests/netlify-deploy.ts

-4
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ export class NextDeployInstance extends NextInstance {
7878
? `${testName} - ${process.env.GITHUB_SHA}`
7979
: testName
8080

81-
if (fs.existsSync(path.join(this.testDir, 'cache-handler.js'))) {
82-
process.env.CUSTOM_CACHE_HANDLER = path.join(this.testDir, 'cache-handler.js')
83-
}
84-
8581
const deployRes = await execa(
8682
'ntl',
8783
['deploy', '--build', '--json', '--message', deployTitle ?? ''],

tests/netlify-e2e.json

+13-1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,16 @@
144144
},
145145
"test/e2e/prerender.test.ts": {
146146
"flakey": ["Prerender should handle on-demand revalidate for fallback: blocking"]
147+
},
148+
"test/e2e/app-dir/app-routes/app-custom-route-base-path.test.ts": {
149+
"flakey": [
150+
"app-custom-routes no response returned should print an error when no response is returned"
151+
]
152+
},
153+
"test/e2e/app-dir/app-routes/app-custom-routes.test.ts": {
154+
"flakey": [
155+
"app-custom-routes no response returned should print an error when no response is returned"
156+
]
147157
}
148158
},
149159
"rules": {
@@ -190,7 +200,9 @@
190200
"test/e2e/typescript-version-no-warning/typescript-version-no-warning.test.ts",
191201
"test/e2e/typescript-version-warning/typescript-version-warning.test.ts",
192202
"test/e2e/app-dir/app/useReportWebVitals.test.ts",
193-
"test/e2e/app-dir/app-static/app-static-custom-handler.test.ts"
203+
"test/e2e/app-dir/app-static/app-static-custom-handler.test.ts",
204+
"test/e2e/app-dir/missing-suspense-with-csr-bailout/missing-suspense-with-csr-bailout.test.ts",
205+
"test/e2e/module-layer/module-layer.test.ts"
194206
]
195207
}
196208
}

0 commit comments

Comments
 (0)