Skip to content

Commit

Permalink
chore(valid-title): Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Feb 24, 2024
1 parent a0cbabf commit 1eb3721
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/rules/valid-title.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Checks that the title of test blocks are valid by ensuring that titles are:

## Rule details

**emptyTitle**
### `emptyTitle`

An empty title is not informative, and serves little purpose.

Expand All @@ -33,7 +33,7 @@ test.describe('foo', () => {
test('foo', () => {});
```

**titleMustBeString**
### `titleMustBeString`

Titles for `describe` and `test` blocks should always be a string; you can
disable this with the `ignoreTypeOfDescribeName` and `ignoreTypeOfTestName`
Expand Down Expand Up @@ -77,7 +77,7 @@ test(myTestName, () => {});
test(6, function () {});
```

**duplicatePrefix**
### `duplicatePrefix`

A `describe` / `test` block should not start with `duplicatePrefix`

Expand Down Expand Up @@ -105,7 +105,7 @@ test.describe('foo', () => {
});
```

**accidentalSpace**
### `accidentalSpace`

A `describe` / `test` block should not contain accidentalSpace, but can be
turned off via the `ignoreSpaces` option:
Expand Down

0 comments on commit 1eb3721

Please sign in to comment.