Skip to content

Commit

Permalink
test: update fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jan 20, 2023
1 parent 71576c0 commit a52c832
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/presets/netlify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ describe("nitro:preset:netlify", async () => {
access-control-max-age: 0
/rules/nested/*
x-test: test
/build/*
cache-control: public, max-age=3600, immutable
"
`);
/* eslint-enable no-tabs */
Expand Down
6 changes: 6 additions & 0 deletions test/presets/vercel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ describe("nitro:preset:vercel", async () => {
"src": "/rules/nested/.*",
"status": 307,
},
{
"headers": {
"cache-control": "public, max-age=3600, immutable",
},
"src": "/build/.*",
},
{
"continue": true,
"headers": {
Expand Down

0 comments on commit a52c832

Please sign in to comment.