8000 chore: update e2e tests in canary (#490) · opennextjs/opennextjs-netlify@47fe6d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 47fe6d8

Browse files
authored
chore: update e2e tests in canary (#490)
* chore: renamed test * chore: handle experimental react in test fixtures
1 parent a72a837 commit 47fe6d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/netlify-deploy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class NextDeployInstance extends NextInstance {
4646
}
4747

4848
// install dependencies
49-
await execa('npm', ['i'], {
49+
await execa('npm', ['i', '--legacy-peer-deps'], {
5050
cwd: this.testDir,
5151
stdio: 'inherit',
5252
})

tests/test-config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@
172172
"file": "test/e2e/app-dir/metadata-dynamic-routes/index.test.ts",
173173
"reason": "Header whitespace mismatch",
174174
"tests": [
175-
"app dir - metadata dynamic routes text routes should handle robots.[ext] dynamic routes",
176-
"app dir - metadata dynamic routes text routes should handle sitemap.[ext] dynamic routes",
175+
"app dir - metadata dynamic routes robots.txt should handle robots.[ext] dynamic routes",
176+
"app dir - metadata dynamic routes robots.txt should handle sitemap.[ext] dynamic routes",
177177
"app dir - metadata dynamic routes social image routes should handle manifest.[ext] dynamic routes",
178178
"app dir - metadata dynamic routes social image routes should render og image with opengraph-image dynamic routes",
179179
"app dir - metadata dynamic routes social image routes should render og image with twitter-image dynamic routes",

0 commit comments

Comments
 (0)
0