diff --git a/docs/rules/consistent-test-it.md b/docs/rules/consistent-test-it.md index f58d58394..f8e4941a0 100644 --- a/docs/rules/consistent-test-it.md +++ b/docs/rules/consistent-test-it.md @@ -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"}]*/ @@ -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"]*/ diff --git a/docs/rules/no-duplicate-hooks.md b/docs/rules/no-duplicate-hooks.md index adeb463ae..58b69d5dd 100644 --- a/docs/rules/no-duplicate-hooks.md +++ b/docs/rules/no-duplicate-hooks.md @@ -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 diff --git a/docs/rules/require-top-level-describe.md b/docs/rules/require-top-level-describe.md index a7b3a27dd..2c2c4f946 100644 --- a/docs/rules/require-top-level-describe.md +++ b/docs/rules/require-top-level-describe.md @@ -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: