Skip to content

Commit

Permalink
[next] Update test fixtures to latest canary (#4935)
Browse files Browse the repository at this point in the history
This updates our Next.js test fixtures to run against canary. 

It looks like the mono-repo fixtures will need to be updated to run against canary separately since there may be a conflict with legacy routes and the trailing slash redirect
  • Loading branch information
ijjk committed Jul 27, 2020
1 parent 4155158 commit 25e9ecb
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/now-next/test/fixtures/01-cache-headers/now.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"builds": [{ "src": "package.json", "use": "@vercel/next" }],
"probes": [
{
"path": "/_next/static/testing-build-id/pages/index.js",
"path": "/_next/__NEXT_SCRIPT__(/)",
"responseHeaders": {
"cache-control": "public,max-age=31536000,immutable"
}
},
{
"path": "/_next/static/invalid-build-id/pages/index.js",
"path": "/_next/static/invalid-build-id/pages/non-existent.js",
"notResponseHeaders": {
"cache-control": "public,max-age=31536000,immutable"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"next": "latest",
"next": "canary",
"react": "^16.8.6",
"react-dom": "^16.8.6"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"next": "^9.1.2-canary.8",
"next": "canary",
"react": "^16.8.6",
"react-dom": "^16.8.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/now-next/test/fixtures/17-static-404/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"next": "9.2.1-canary.3",
"next": "canary",
"react": "^16.8.6",
"react-dom": "^16.8.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/now-next/test/fixtures/19-pages-404/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"next": "latest",
"next": "canary",
"react": "^16.8.6",
"react-dom": "^16.8.6"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build": "next build"
},
"dependencies": {
"next": "^9.1.2-canary.8",
"next": "canary",
"react": "^16.8.6",
"react-dom": "^16.8.6"
}
Expand Down

0 comments on commit 25e9ecb

Please sign in to comment.