Skip to content

Commit

Permalink
Merge pull request #9141 from weseek/support/bump-testing-library
Browse files Browse the repository at this point in the history
support: Upgrade @testing-library/react
  • Loading branch information
mergify[bot] authored Sep 19, 2024
2 parents 70787ca + 47602ac commit 8061cac
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 172 deletions.
7 changes: 5 additions & 2 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,16 @@
"@popperjs/core": "^2.11.8",
"@swc-node/jest": "^1.8.1",
"@swc/jest": "^0.2.36",
"@testing-library/react": "^14.1.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.2",
"@types/react-input-autosize": "^2.2.4",
"@types/react-scroll": "^1.8.4",
"@types/react-stickynode": "^4.0.3",
"@types/testing-library__dom": "^7.5.0",
"@types/throttle-debounce": "^5.0.1",
"@types/unzip-stream": "^0.3.4",
"@types/url-join": "^4.0.2",
Expand All @@ -249,7 +252,7 @@
"eslint-plugin-regex": "^1.8.0",
"fslightbox-react": "^1.7.6",
"handsontable": "=6.2.2",
"happy-dom": "^13.2.0",
"happy-dom": "^15.7.4",
"i18next-chained-backend": "^4.6.2",
"i18next-hmr": "^3.0.4",
"i18next-http-backend": "^2.5.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { type IPageInfoForOperation } from '@growi/core/dist/interfaces';
import {
fireEvent, render, screen, within,
} from '@testing-library/react';
fireEvent, screen, within,
} from '@testing-library/dom';
import { render } from '@testing-library/react';
import { mock } from 'vitest-mock-extended';

import { PageItemControl } from './PageItemControl';
Expand Down
Loading

0 comments on commit 8061cac

Please sign in to comment.