Skip to content

Commit

Permalink
refactor(many): update vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasf committed Dec 10, 2024
1 parent 49f2786 commit 05e26c1
Show file tree
Hide file tree
Showing 65 changed files with 277 additions and 259 deletions.
408 changes: 213 additions & 195 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"tar": "^7.4.3",
"typescript": "5.7.2",
"typescript-eslint": "^8.18.0",
"vitest": "^2.1.1",
"vitest": "^2.1.8",
"webpack": "^5.97.1"
},
"//dependency-comments": {
Expand Down
2 changes: 1 addition & 1 deletion packages/__examples__/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/webpack-env": "^1.18.5",
"globby": "^13.2.2",
"prop-types": "^15.8.1",
"react-docgen": "7.0.3",
"react-docgen": "7.1.0",
"storybook": "^7.6.19",
"webpack": "^5.97.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-a11y-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-alerts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-axe-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"@babel/runtime": "^7.26.0",
"axe-core": "^4.10.0"
"axe-core": "^4.10.2"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-billboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-buttons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-byline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-codemods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@types/prettier": "^2.7.3",
"esbuild": "^0.24.0",
"pirates": "^4.0.6",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"babel-core": "^7.0.0-bridge.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-color-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-date-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-date-time-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-dom-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-drawer-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^15.0.7",
"vitest": "^2.0.2"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-drilldown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-editable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-expandable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-form-field/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-heading/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-img/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-metric/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-navigation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-number-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-overlays/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/no-scroll": "^2.1.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-pill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-position/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-progress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-prop-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-radio-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"peerDependencies": {
"react": ">=16.14 <=18"
Expand Down
Loading

0 comments on commit 05e26c1

Please sign in to comment.