@@ -111,28 +111,28 @@ installations requiring long-term consistency.
111111| Rule | Description | Configurations | Fixable |
112112| ------------------------------ | ----------------------------------------------------------------- | ---------------- | ------------------- |
113113| [ consistent-test-it] [ ] | Enforce consistent test or it keyword | | ![ fixable-green] [ ] |
114- | [ expect-expect] [ ] | Enforce assertion to be made in a test body | | |
114+ | [ expect-expect] [ ] | Enforce assertion to be made in a test body | ![ recommended ] [ ] | |
115115| [ lowercase-name] [ ] | Disallow capitalized test names | | ![ fixable-green] [ ] |
116- | [ no-alias-methods] [ ] | Disallow alias methods | ![ recommended ] [ ] | ![ fixable-green] [ ] |
117- | [ no-commented-out-tests] [ ] | Disallow commented out tests | | |
116+ | [ no-alias-methods] [ ] | Disallow alias methods | ![ style ] [ ] | ![ fixable-green] [ ] |
117+ | [ no-commented-out-tests] [ ] | Disallow commented out tests | ![ recommended ] [ ] | |
118118| [ no-disabled-tests] [ ] | Disallow disabled tests | ![ recommended] [ ] | |
119119| [ no-duplicate-hooks] [ ] | Disallow duplicate hooks within a ` describe ` block | | |
120120| [ no-expect-resolves] [ ] | Disallow using ` expect().resolves ` | | |
121- | [ no-export] [ ] | Disallow export from test files | | |
121+ | [ no-export] [ ] | Disallow export from test files | ![ recommended ] [ ] | |
122122| [ no-focused-tests] [ ] | Disallow focused tests | ![ recommended] [ ] | |
123123| [ no-hooks] [ ] | Disallow setup and teardown hooks | | |
124124| [ no-identical-title] [ ] | Disallow identical titles | ![ recommended] [ ] | |
125125| [ no-if] [ ] | Disallow conditional logic | | |
126126| [ no-jasmine-globals] [ ] | Disallow Jasmine globals | ![ recommended] [ ] | ![ fixable-yellow] [ ] |
127127| [ no-jest-import] [ ] | Disallow importing ` jest ` | ![ recommended] [ ] | |
128128| [ no-large-snapshots] [ ] | Disallow large snapshots | | |
129- | [ no-mocks-import] [ ] | Disallow manually importing from ` __mocks__ ` | | |
129+ | [ no-mocks-import] [ ] | Disallow manually importing from ` __mocks__ ` | ![ recommended ] [ ] | |
130130| [ no-standalone-expect] [ ] | Prevents ` expect ` statements outside of a ` test ` or ` it ` block | | |
131131| [ no-test-callback] [ ] | Using a callback in asynchronous tests | | ![ fixable-green] [ ] |
132132| [ no-test-prefixes] [ ] | Disallow using ` f ` & ` x ` prefixes to define focused/skipped tests | ![ recommended] [ ] | ![ fixable-green] [ ] |
133133| [ no-test-return-statement] [ ] | Disallow explicitly returning from tests | | |
134134| [ no-truthy-falsy] [ ] | Disallow using ` toBeTruthy() ` & ` toBeFalsy() ` | | |
135- | [ no-try-expect] [ ] | Prevent ` catch ` assertions in tests | | |
135+ | [ no-try-expect] [ ] | Prevent ` catch ` assertions in tests | ![ recommended ] [ ] | |
136136| [ prefer-called-with] [ ] | Suggest using ` toBeCalledWith() ` OR ` toHaveBeenCalledWith() ` | | |
137137| [ prefer-expect-assertions] [ ] | Suggest using ` expect.assertions() ` OR ` expect.hasAssertions() ` | | |
138138| [ prefer-hooks-on-top] [ ] | Suggest to have all hooks at top-level before tests | | |
0 commit comments