Skip to content

Commit e838a48

Browse files
committed
docs: regenerate after merge
1 parent 83d45e5 commit e838a48

7 files changed

+43
-31
lines changed

README.md

+29-29
Large diffs are not rendered by default.

docs/rules/await-async-events.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Enforce promises from async event methods are handled (`testing-library/await-async-events`)
22

3+
💼 This rule is enabled in the following configs: `angular`, `dom`, `marko`, `react`, `vue`.
4+
5+
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
6+
7+
<!-- end auto-generated rule header -->
8+
39
Ensure that promises returned by `userEvent` (v14+) async methods or `fireEvent` (only Vue and Marko) async methods are handled properly.
410

511
## Rule Details

docs/rules/no-await-sync-events.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Disallow unnecessary `await` for sync events (`testing-library/no-await-sync-events`)
22

3+
💼 This rule is enabled in the following configs: `angular`, `dom`, `react`.
4+
35
<!-- end auto-generated rule header -->
46

57
Ensure that sync simulated events are not awaited unnecessarily.

docs/rules/no-debugging-utils.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Disallow the use of debugging utilities like `debug` (`testing-library/no-debugging-utils`)
22

3-
💼 This rule is enabled in the following configs: `angular`, `marko`, `react`, `vue`.
3+
⚠️ This rule _warns_ in the following configs: `angular`, `marko`, `react`, `vue`.
44

55
<!-- end auto-generated rule header -->
66

docs/rules/no-global-regexp-flag-in-query.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Disallow the use of the global RegExp flag (/g) in queries (`testing-library/no-global-regexp-flag-in-query`)
22

3+
💼 This rule is enabled in the following configs: `angular`, `dom`, `marko`, `react`, `vue`.
4+
35
🔧 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
46

57
<!-- end auto-generated rule header -->

docs/rules/no-manual-cleanup.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Disallow the use of `cleanup` (`testing-library/no-manual-cleanup`)
22

3+
💼 This rule is enabled in the following configs: `react`, `vue`.
4+
35
<!-- end auto-generated rule header -->
46

57
`cleanup` is performed automatically if the testing framework you're using supports the `afterEach` global (like mocha, Jest, and Jasmine). In this case, it's unnecessary to do manual cleanups after each test unless you skip the auto-cleanup with environment variables such as `RTL_SKIP_AUTO_CLEANUP` for React.

docs/rules/no-node-access.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Disallow direct Node access (`testing-library/no-node-access`)
22

3-
💼 This rule is enabled in the following configs: `angular`, `marko`, `react`, `vue`.
3+
💼 This rule is enabled in the following configs: `angular`, `dom`, `marko`, `react`, `vue`.
44

55
<!-- end auto-generated rule header -->
66

0 commit comments

Comments
 (0)