Skip to content

Commit

Permalink
chore(deps): update dependency vitest to v1 (#151)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency vitest to v1

* adjust snapshot format to vitest 1

---------

Co-authored-by: renovate[bot] <[email protected]>
Co-authored-by: Lenz Weber-Tronic <[email protected]>
  • Loading branch information
3 people authored Jan 5, 2024
1 parent c66e6af commit 9b9acd2
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 133 deletions.
2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"rimraf": "^5.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.2",
"vitest": "^0.34.0"
"vitest": "^1.0.0"
},
"peerDependencies": {
"@apollo/client": ">=3.8.0-rc || ^3.8.0 || >=3.9.0-alpha || >=3.9.0-beta || >=3.9.0-rc",
Expand Down
4 changes: 2 additions & 2 deletions package/src/ssr/RemoveMultipartDirectivesLink.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ it("preserves @defer fields with a `SsrDontStrip` label", () => {
expect(print(resultingQuery!)).toMatchInlineSnapshot(`
"query myQuery {
fastField
... @defer(label: \\"SsrDontStrip1\\") {
... @defer(label: "SsrDontStrip1") {
slowField1
}
... @defer(label: \\"SsrDontStrip2\\") {
... @defer(label: "SsrDontStrip2") {
slowField2
}
}"
Expand Down
Loading

0 comments on commit 9b9acd2

Please sign in to comment.