build(deps): update vitest from v3.2.4 to v4.0.9

This commit is contained in:
theborakompanioni 2025-11-16 14:04:09 +01:00
parent b859cc4009
commit 92a22fbb25
No known key found for this signature in database
GPG key ID: E8070AF0053AAC0D
3 changed files with 769 additions and 192 deletions

948
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -83,12 +83,12 @@
"@storybook/addon-vitest": "10.0.7",
"@storybook/react-vite": "10.0.7",
"@trivago/prettier-plugin-sort-imports": "6.0.0",
"@types/node": "22.19.1",
"@types/node": "24.10.1",
"@types/qrcode": "1.5.6",
"@types/react": "19.2.5",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "4.7.0",
"@vitest/browser": "3.2.4",
"@vitejs/plugin-react": "5.1.1",
"@vitest/browser": "4.0.9",
"conventional-changelog": "7.1.1",
"eslint": "9.39.1",
"eslint-plugin-react-hooks": "7.0.1",
@ -103,7 +103,9 @@
"typescript": "~5.9.3",
"typescript-eslint": "8.46.4",
"vite": "7.2.2",
"vitest": "3.2.4"
"vitest": "4.0.9",
"@vitest/browser-playwright": "4.0.9",
"@vitest/coverage-v8": "4.0.9"
},
"overrides": {
"storybook": "$storybook",

View file

@ -1,6 +1,7 @@
import { storybookTest } from '@storybook/addon-vitest/vitest-plugin'
import tailwindcss from '@tailwindcss/vite'
import react from '@vitejs/plugin-react'
import { playwright } from '@vitest/browser-playwright'
import path from 'path'
import { type ServerOptions, type UserConfig, defineConfig } from 'vite'
@ -53,7 +54,7 @@ export default defineConfig((): UserConfig => {
browser: {
enabled: true,
headless: true,
provider: 'playwright',
provider: playwright({}),
instances: [{ browser: 'chromium' }],
},
setupFiles: ['.storybook/vitest.setup.ts'],