Skip to content

Commit

Permalink
fix: disable no-await-sync-events for @testing-library/user-event v14
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed Apr 5, 2022
1 parent 66c53cf commit 372a3b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/eslint-config/presets/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ module.exports = {
plugins: ['eslint-plugin-jest-dom', 'eslint-plugin-testing-library'],
rules: {
// avoid using unnecessary `await` as workaround for `not wrapped in act(...)` warnings
'testing-library/no-await-sync-events': 'error',
'testing-library/no-wait-for-empty-callback': 'error',
// avoid side effects inside `waitFor`
'testing-library/no-wait-for-snapshot': 'error',
Expand Down

0 comments on commit 372a3b5

Please sign in to comment.