Skip to content

chore(deps): update dependency eslint-plugin-testing-library to v6 - abandoned #1389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"eslint-plugin-sonarjs": "0.21.0",
"eslint-plugin-testing-library": "^5.10.2",
"eslint-plugin-testing-library": "6.0.1",
"eslint-plugin-unused-imports": "^3.0.0",
"execa": "8.0.1",
"fork-ts-checker-notifier-webpack-plugin": "7.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/layout/Datepicker/DatepickerComponent.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jest.mock('src/utils/dateHelpers', () => ({
}));

const render = ({ component, genericProps }: Partial<RenderGenericComponentTestProps<'Datepicker'>> = {}) => {
// eslint-disable-next-line testing-library/await-async-events
const user = userEvent.setup();
renderGenericComponentTest({
type: 'Datepicker',
Expand Down
1 change: 1 addition & 0 deletions src/layout/NavigationBar/NavigationBarComponent.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ interface Props extends Partial<RenderGenericComponentTestProps<'NavigationBar'>
}

const render = ({ dispatch = jest.fn() }: Props = {}) => {
// eslint-disable-next-line testing-library/await-async-events
const user = userEvent.setup();
renderGenericComponentTest({
type: 'NavigationBar',
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5636,7 +5636,7 @@ __metadata:
eslint-plugin-react-hooks: 4.6.0
eslint-plugin-simple-import-sort: 10.0.0
eslint-plugin-sonarjs: 0.21.0
eslint-plugin-testing-library: ^5.10.2
eslint-plugin-testing-library: 6.0.1
eslint-plugin-unused-imports: ^3.0.0
execa: 8.0.1
fork-ts-checker-notifier-webpack-plugin: 7.0.0
Expand Down Expand Up @@ -8673,14 +8673,14 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-testing-library@npm:^5.10.2":
version: 5.11.1
resolution: "eslint-plugin-testing-library@npm:5.11.1"
"eslint-plugin-testing-library@npm:6.0.1":
version: 6.0.1
resolution: "eslint-plugin-testing-library@npm:6.0.1"
dependencies:
"@typescript-eslint/utils": ^5.58.0
peerDependencies:
eslint: ^7.5.0 || ^8.0.0
checksum: 9f3fc68ef9f13016a4381b33ab5dbffcc189e5de3eaeba184bcf7d2771faa7f54e59c04b652162fb1c0f83fb52428dd909db5450a25508b94be59eba69fcc990
checksum: eff1a134cb62f1c39d2136d8b89d4f231a32003fe45da2a905e5dfaa820c4a235f601ea66be6f44dd51e91debc69a36a70b586af65ac8831102b9bd411bc2705
languageName: node
linkType: hard

Expand Down