Skip to content

Commit

Permalink
Upgrade Vitest to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Aug 2, 2024
1 parent 1165845 commit 8b787e8
Show file tree
Hide file tree
Showing 6 changed files with 460 additions and 471 deletions.
19 changes: 5 additions & 14 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,7 @@
"eslint.options": {
"cache": true,
"cacheLocation": ".cache/eslint",
"extensions": [
".js",
".jsx",
".mjs",
".json",
".ts",
".tsx"
]
"extensions": [".js", ".jsx", ".mjs", ".json", ".ts", ".tsx"]
},
"eslint.useESLintClass": true,
"eslint.validate": [
Expand All @@ -42,10 +35,7 @@
"typescript",
"typescriptreact"
],
"eslint.workingDirectories": [
"./code",
"./scripts"
],
"eslint.workingDirectories": ["./code", "./scripts"],
"files.associations": {
"*.js": "javascriptreact"
},
Expand All @@ -59,5 +49,6 @@
"typescript.preferences.preferTypeOnlyAutoImports": true,
"typescript.preferences.quoteStyle": "single",
"typescript.preferGoToSourceDefinition": true,
"typescript.tsdk": "./code/node_modules/typescript/lib"
}
"typescript.tsdk": "./code/node_modules/typescript/lib",
"vitest.workspaceConfig": "./code/vitest.workspace.ts"
}
1 change: 0 additions & 1 deletion code/addons/a11y/src/manager.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ describe('A11yManager', () => {
>
Accessibility
</span>
</Spaced>
</div>
`);
Expand Down
12 changes: 5 additions & 7 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@
],
"resolutions": {
"@playwright/test": "1.36.0",
"@testing-library/jest-dom/aria-query": "5.1.3",
"@types/node": "^18.0.0",
"@vitest/expect": "patch:@vitest/expect@npm%3A1.6.0#~/.yarn/patches/@vitest-expect-npm-1.6.0-0e382f8212.patch",
"esbuild": "^0.23.0",
"playwright": "1.36.0",
"playwright-core": "1.36.0",
Expand Down Expand Up @@ -158,10 +156,10 @@
"@storybook/web-components": "workspace:*",
"@storybook/web-components-vite": "workspace:*",
"@storybook/web-components-webpack5": "workspace:*",
"@testing-library/dom": "^7.29.4",
"@testing-library/jest-dom": "6.4.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/express": "^4.17.21",
"@types/fs-extra": "^11.0.1",
"@types/lodash": "^4.14.167",
Expand Down Expand Up @@ -207,7 +205,7 @@
"typescript": "^5.4.3",
"util": "^0.12.4",
"vite": "^4.0.0",
"vitest": "^1.6.0",
"vitest": "^2.0.5",
"wait-on": "^7.0.1"
},
"dependenciesMeta": {
Expand Down
Loading

0 comments on commit 8b787e8

Please sign in to comment.