Skip to content

Commit 3a68af4

Browse files
committed
Upgrade eslint-plugin-testing-library to 7.16.2
1 parent a7e65ba commit 3a68af4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

__tests__/src/components/WorkspaceSelectionDialog.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ describe('WorkspaceSelectionDialog', () => {
4040
const user = userEvent.setup();
4141
createWrapper();
4242

43-
user.click(screen.getByRole('menuitem', { name: /Elastic/ }));
43+
await user.click(screen.getByRole('menuitem', { name: /Elastic/ }));
4444
await waitFor(() => expect(updateWorkspace).toHaveBeenLastCalledWith({ type: 'elastic' }));
4545

46-
user.click(screen.getByRole('menuitem', { name: /Mosaic/ }));
46+
await user.click(screen.getByRole('menuitem', { name: /Mosaic/ }));
4747
await waitFor(() => expect(updateWorkspace).toHaveBeenLastCalledWith({ type: 'mosaic' }));
4848
await waitFor(() => expect(handleClose).toHaveBeenCalledTimes(2));
4949
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"eslint-plugin-jsx-a11y": "^6.10.2",
103103
"eslint-plugin-react": "^7.37.5",
104104
"eslint-plugin-react-hooks": "^5.2.0",
105-
"eslint-plugin-testing-library": "^6.5.0",
105+
"eslint-plugin-testing-library": "^7.16.2",
106106
"glob": "^13.0.6",
107107
"globals": "^15.15.0",
108108
"happy-dom": "^20.0",

0 commit comments

Comments
 (0)