Skip to content

Commit

Permalink
docs: typo in v6 migration guide (#827)
Browse files Browse the repository at this point in the history
The rules are called `no-await-sync-query` and `no-await-sync-queries`

Signed-off-by: Andi Pätzold <[email protected]>
  • Loading branch information
andipaetzold authored Oct 12, 2023
1 parent 13edd25 commit 49ad68b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/migration-guides/v6.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If you are not on v5 yet, we recommend first following the [v5 migration guide](
- `await-async-events` is now enabled by default for `fireEvent` in Vue and Marko shared configs
- `await-async-events` is now enabled by default for `userEvent` in all shared configs
- `await-async-query` is now called `await-async-queries`
- `no-await-async-query` is now called `no-await-async-queries`
- `no-await-sync-query` is now called `no-await-sync-queries`
- `no-render-in-setup` is now called `no-render-in-lifecycle`
- `no-await-sync-events` is now enabled by default in React, Angular, and DOM shared configs
- `no-manual-cleanup` is now enabled by default in React and Vue shared configs
Expand All @@ -25,6 +25,6 @@ If you are not on v5 yet, we recommend first following the [v5 migration guide](
- Removing `testing-library/no-wait-for-empty-callback` if you were referencing it manually somewhere
- Renaming `testing-library/await-fire-event` to `testing-library/await-async-events` if you were referencing it manually somewhere
- Renaming `testing-library/await-async-query` to `testing-library/await-async-queries` if you were referencing it manually somewhere
- Renaming `testing-library/no-await-async-query` to `testing-library/no-await-async-queries` if you were referencing it manually somewhere
- Renaming `testing-library/no-await-sync-query` to `testing-library/no-await-sync-queries` if you were referencing it manually somewhere
- Renaming `testing-library/no-render-in-setup` to `testing-library/no-render-in-lifecycle` if you were referencing it manually somewhere
- Being aware of new rules enabled or changed above in shared configs which can lead to newly reported errors

0 comments on commit 49ad68b

Please sign in to comment.