Skip to content

Commit

Permalink
chore: update vitest to 1.0.0-beta (#1776)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Oct 5, 2023
1 parent 6c51546 commit e465419
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 53 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"@types/node-fetch": "^2.6.6",
"@types/semver": "^7.5.3",
"@types/serve-static": "^1.15.3",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/coverage-v8": "^1.0.0-beta.0",
"changelogen": "^0.5.5",
"edge-runtime": "^2.5.3",
"eslint": "^8.50.0",
Expand All @@ -147,7 +147,7 @@
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"undici": "^5.25.3",
"vitest": "^0.34.6",
"vitest": "^1.0.0--beta.0",
"xml2js": "^0.6.2"
},
"peerDependencies": {
Expand Down
89 changes: 39 additions & 50 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export function testNitro(
const { status, headers } = await callHandler({ url: "/build/test.txt" });
expect(status).toBe(200);
expect(headers.etag).toMatchInlineSnapshot(
'"\\"7-vxGfAKTuGVGhpDZqQLqV60dnKPw\\""'
`""7-vxGfAKTuGVGhpDZqQLqV60dnKPw""`
);
expect(headers["content-type"]).toMatchInlineSnapshot(
'"text/plain; charset=utf-8"'
Expand Down

0 comments on commit e465419

Please sign in to comment.