Skip to content

Commit

Permalink
refactor(many): update jest-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasf committed Dec 10, 2024
1 parent 05e26c1 commit f1ffcce
Show file tree
Hide file tree
Showing 63 changed files with 196 additions and 2,213 deletions.
2,281 changes: 131 additions & 2,150 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@
"@instructure/browserslist-config-instui": "workspace:*",
"@instructure/pkg-utils": "workspace:*",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/eslint__js": "^8.42.3",
"@types/react-dom": "^18.3.0",
"@types/jest": "^29.5.14",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/eslint-plugin": "^1.1.14",
"chai": "^4.4.1",
Expand Down Expand Up @@ -107,7 +108,8 @@
"chalk": "Chalk 5 is ESM. (used here by the scripts/ folder)",
"tar": "Lerna 8 needs tar for this fixed(?) bug: https://github.com/lerna/lerna/issues/4005",
"eslint-import-resolver-typescript": "^3.6.1 not supported by ESLint 9",
"eslint-plugin-import-x": "^3.1.0 not supported by ESLint 9"
"eslint-plugin-import-x": "^3.1.0 not supported by ESLint 9",
"@types/jest": "needed because https://github.com/testing-library/jest-dom/issues/544 recheck if fixed"
},
"engines": {
"node": ">=18",
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 @@ -34,7 +34,7 @@
"devDependencies": {
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-color-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -28,7 +28,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-scripts": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -39,7 +39,7 @@
"@instructure/ui-test-locator": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -38,7 +38,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -29,7 +29,7 @@
"@instructure/ui-icons": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -27,7 +27,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-scripts": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -27,7 +27,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -37,7 +37,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -28,7 +28,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -46,7 +46,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -51,7 +51,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-scripts": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -28,7 +28,7 @@
"@instructure/ui-buttons": "10.8.0",
"@instructure/ui-scripts": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -25,7 +25,7 @@
"devDependencies": {
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -35,7 +35,7 @@
"@instructure/console": "10.8.0",
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-prop-types": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -23,7 +23,7 @@
"license": "MIT",
"devDependencies": {
"@instructure/ui-babel-preset": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -46,7 +46,7 @@
"devDependencies": {
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^15.0.7",
"vitest": "^2.1.8"
},
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 @@ -47,7 +47,7 @@
"@instructure/ui-scripts": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -25,7 +25,7 @@
"devDependencies": {
"@instructure/ui-axe-check": "10.8.0",
"@instructure/ui-babel-preset": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -35,7 +35,7 @@
"devDependencies": {
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-color-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -27,7 +27,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -39,7 +39,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -38,7 +38,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -37,7 +37,7 @@
"@instructure/ui-axe-check": "10.8.0",
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -42,7 +42,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -39,7 +39,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -28,7 +28,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -38,7 +38,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -48,7 +48,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-position": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -25,7 +25,7 @@
"devDependencies": {
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -29,7 +29,7 @@
"@instructure/ui-scripts": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -28,7 +28,7 @@
"@instructure/ui-scripts": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -25,7 +25,7 @@
"devDependencies": {
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/no-scroll": "^2.1.2",
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 @@ -26,7 +26,7 @@
"@instructure/ui-axe-check": "10.8.0",
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -45,7 +45,7 @@
"@instructure/ui-test-queries": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -47,7 +47,7 @@
"@instructure/ui-test-locator": "10.8.0",
"@instructure/ui-test-queries": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -25,7 +25,7 @@
"devDependencies": {
"@instructure/ui-axe-check": "10.8.0",
"@instructure/ui-babel-preset": "10.8.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
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 @@ -42,7 +42,7 @@
"@instructure/ui-test-locator": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -39,7 +39,7 @@
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -23,7 +23,7 @@
"license": "MIT",
"devDependencies": {
"@instructure/ui-babel-preset": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
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 @@ -39,7 +39,7 @@
"@instructure/ui-color-utils": "10.8.0",
"@instructure/ui-test-utils": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"vitest": "^2.1.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-rating/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@instructure/ui-axe-check": "10.8.0",
"@instructure/ui-babel-preset": "10.8.0",
"@instructure/ui-themes": "10.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"vitest": "^2.1.8"
},
Expand Down
Loading

0 comments on commit f1ffcce

Please sign in to comment.