Skip to content

Commit

Permalink
Update vitest monorepo to v3 (major) (#844)
Browse files Browse the repository at this point in the history
* Update vitest monorepo to v3

* Update vitest monorepo to v3

* clear mock

* check

* do not log

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jycouet <[email protected]>
  • Loading branch information
renovate[bot] and jycouet authored Jan 23, 2025
1 parent de76ea5 commit 5fa7fb2
Show file tree
Hide file tree
Showing 9 changed files with 156 additions and 391 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.7",
"@vitest/coverage-v8": "2.1.8",
"@vitest/coverage-v8": "3.0.4",
"esbuild": "0.24.0",
"prettier": "3.4.2",
"rimraf": "6.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/handles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"tslib": "2.8.0",
"typescript": "5.7.2",
"vite": "6.0.3",
"vitest": "2.1.8"
"vitest": "3.0.4"
},
"dependencies": {
"@kitql/helpers": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"tslib": "2.8.0",
"typescript": "5.7.2",
"vite": "6.0.3",
"vitest": "2.1.8"
"vitest": "3.0.4"
},
"dependencies": {
"esm-env": "^1.0.0"
Expand Down
6 changes: 5 additions & 1 deletion packages/helpers/src/lib/Log.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { describe, expect, it, vi } from 'vitest'
import { beforeEach, describe, expect, it, vi } from 'vitest'

import {
bgBlack,
Expand Down Expand Up @@ -47,6 +47,10 @@ import { Log } from './Log.js'
import { stry0 } from './stry/stry.js'

describe('kitql - helper - Log', () => {
beforeEach(() => {
vi.clearAllMocks()
})

it('Minimal config', () => {
const log = new Log('tool name')
expect(log).to.have.property('toolName', 'tool name')
Expand Down
2 changes: 1 addition & 1 deletion packages/internals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"tslib": "2.8.0",
"typescript": "5.7.2",
"vite": "6.0.3",
"vitest": "2.1.8"
"vitest": "3.0.4"
},
"dependencies": {
"@babel/parser": "^7.23.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-kit-routes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"tslib": "2.8.0",
"typescript": "5.7.2",
"vite": "6.0.3",
"vitest": "2.1.8"
"vitest": "3.0.4"
},
"dependencies": {
"@kitql/helpers": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-stripper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"tslib": "2.8.0",
"typescript": "5.7.2",
"vite": "6.0.3",
"vitest": "2.1.8"
"vitest": "3.0.4"
},
"dependencies": {
"@kitql/helpers": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-watch-and-run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"tslib": "2.8.0",
"typescript": "5.7.2",
"vite": "6.0.3",
"vitest": "2.1.8"
"vitest": "3.0.4"
},
"dependencies": {
"@kitql/helpers": "workspace:*",
Expand Down
Loading

0 comments on commit 5fa7fb2

Please sign in to comment.