Skip to content

Commit

Permalink
chore: upgrade to vitest 1.6.0 (#12308)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Jun 6, 2024
1 parent e106e7b commit 84f03cc
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 73 deletions.
2 changes: 1 addition & 1 deletion packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/set-cookie-parser": "^2.4.7",
"rollup": "^4.14.2",
"typescript": "^5.3.3",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"peerDependencies": {
"@sveltejs/kit": "^2.4.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"polka": "1.0.0-next.25",
"sirv": "^2.0.4",
"typescript": "^5.3.3",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"dependencies": {
"@rollup/plugin-commonjs": "^25.0.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@types/node": "^18.19.3",
"typescript": "^5.3.3",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"peerDependencies": {
"@sveltejs/kit": "^2.4.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"svelte": "^4.2.10",
"tiny-glob": "^0.2.9",
"typescript": "^5.3.3",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"scripts": {
"build": "node scripts/build-templates",
Expand Down
2 changes: 1 addition & 1 deletion packages/enhanced-img/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"svelte": "^4.2.10",
"typescript": "^5.3.3",
"vite": "^5.2.8",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
}
}
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"svelte-preprocess": "^5.1.3",
"typescript": "^5.3.3",
"vite": "^5.2.8",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"peerDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/src/core/postbuild/queue.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ test('q.add fails if queue is already finished', async () => {
q.add(() => {});

await q.done();
assert.throws(() => q.add(() => {}), /Cannot add tasks to a queue that has ended/);
expect(() => q.add(() => {})).throws(/Cannot add tasks to a queue that has ended/);
});

test('q.done() resolves if nothing was added to the queue', async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/build-errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"type": "module",
"devDependencies": {
"vitest": "^1.5.0"
"vitest": "^1.6.0"
}
}
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.2.8",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.2.8",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/paths-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.2.8",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@types/semver": "^7.5.6",
"prettier": "^3.1.1",
"svelte": "^4.2.10",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"scripts": {
"test": "vitest run --silent",
Expand Down
Loading

0 comments on commit 84f03cc

Please sign in to comment.