Skip to content

Commit

Permalink
docs: wrap references to code entities in code quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jul 26, 2020
1 parent af9dc8b commit e095874
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/rules/consistent-test-it.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Decides whether to use `test` or `it`.

#### withinDescribe

Decides whether to use `test` or `it` within a describe scope.
Decides whether to use `test` or `it` within a `describe` scope.

```js
/*eslint jest/consistent-test-it: ["error", {"fn": "test"}]*/
Expand Down Expand Up @@ -72,7 +72,7 @@ describe('foo', function() {
### Default configuration

The default configuration forces top level test to use `test` and all tests
nested within describe to use `it`.
nested within `describe` to use `it`.

```js
/*eslint jest/consistent-test-it: ["error"]*/
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/no-duplicate-hooks.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Disallow duplicate setup and teardown hooks (`no-duplicate-hooks`)

A describe block should not contain duplicate hooks.
A `describe` block should not contain duplicate hooks.

## Rule Details

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/require-top-level-describe.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ in your test file.

This rule triggers a warning if a test case (`test` and `it`) or a hook
(`beforeAll`, `beforeEach`, `afterEach`, `afterAll`) is not located in a
top-level describe block.
top-level `describe` block.

The following patterns are considered warnings:

Expand Down

0 comments on commit e095874

Please sign in to comment.