Skip to content

Commit 9cb4ecc

Browse files
authored
fix(padding-around-test-blocks): update description (#1691)
* docs: fix padding-around-test-blocks docs * fix: fix description * fix: typo * fix: include 'it`
1 parent eecc6e6 commit 9cb4ecc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

β€ŽREADME.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ Manually fixable by
359359
| [padding-around-before-each-blocks](docs/rules/padding-around-before-each-blocks.md) | Enforce padding around `beforeEach` blocks | | | πŸ”§ | |
360360
| [padding-around-describe-blocks](docs/rules/padding-around-describe-blocks.md) | Enforce padding around `describe` blocks | | | πŸ”§ | |
361361
| [padding-around-expect-groups](docs/rules/padding-around-expect-groups.md) | Enforce padding around `expect` groups | | | πŸ”§ | |
362-
| [padding-around-test-blocks](docs/rules/padding-around-test-blocks.md) | Enforce padding around afterAll blocks | | | πŸ”§ | |
362+
| [padding-around-test-blocks](docs/rules/padding-around-test-blocks.md) | Enforce padding around `test` and `it` blocks | | | πŸ”§ | |
363363
| [prefer-called-with](docs/rules/prefer-called-with.md) | Suggest using `toBeCalledWith()` or `toHaveBeenCalledWith()` | | | | |
364364
| [prefer-comparison-matcher](docs/rules/prefer-comparison-matcher.md) | Suggest using the built-in comparison matchers | | | πŸ”§ | |
365365
| [prefer-each](docs/rules/prefer-each.md) | Prefer using `.each` rather than manual loops | | | | |

β€Ždocs/rules/padding-around-test-blocks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Enforce padding around afterAll blocks (`padding-around-test-blocks`)
1+
# Enforce padding around `test` and `it` blocks (`padding-around-test-blocks`)
22

33
πŸ”§ This rule is automatically fixable by the
44
[`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).

β€Žsrc/rules/padding-around-test-blocks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ export const config = [
2727

2828
export default createPaddingRule(
2929
__filename,
30-
'Enforce padding around afterAll blocks',
30+
'Enforce padding around `test` and `it` blocks',
3131
config,
3232
);

0 commit comments

Comments
Β (0)