File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ for more information about extending configuration files.
8181| Rule | Description | Recommended | Fixable |
8282| ---------------------------- | ----------------------------------------------------------------- | ---------------- | ------------------- |
8383| [ consistent-test-it] [ ] | Enforce consistent test or it keyword | | ![ fixable-green] [ ] |
84+ | [ expect-expect] [ ] | Enforce assertion to be made in a test body | | |
8485| [ lowercase-name] [ ] | Disallow capitalized test names | | ![ fixable-green] [ ] |
8586| [ no-disabled-tests] [ ] | Disallow disabled tests | ![ recommended] [ ] | |
8687| [ no-focused-tests] [ ] | Disallow focused tests | ![ recommended] [ ] | |
@@ -106,6 +107,7 @@ for more information about extending configuration files.
106107- [ eslint-plugin-jasmine] ( https://github.com/tlvince/eslint-plugin-jasmine )
107108
108109[ consistent-test-it ] : docs/rules/consistent-test-it.md
110+ [ expect-expect ] : docs/rules/expect-expect.md
109111[ lowercase-name ] : docs/rules/lowercase-name.md
110112[ no-disabled-tests ] : docs/rules/no-disabled-tests.md
111113[ no-focused-tests ] : docs/rules/no-focused-tests.md
Original file line number Diff line number Diff line change 11'use strict' ;
22
33const consistentTestIt = require ( './rules/consistent-test-it' ) ;
4+ const expectExpect = require ( './rules/expect-expect' ) ;
45const lowercaseName = require ( './rules/lowercase-name' ) ;
56const noDisabledTests = require ( './rules/no-disabled-tests' ) ;
67const noFocusedTests = require ( './rules/no-focused-tests' ) ;
@@ -67,6 +68,7 @@ module.exports = {
6768 } ,
6869 rules : {
6970 'consistent-test-it' : consistentTestIt ,
71+ 'expect-expect' : expectExpect ,
7072 'lowercase-name' : lowercaseName ,
7173 'no-disabled-tests' : noDisabledTests ,
7274 'no-focused-tests' : noFocusedTests ,
You can’t perform that action at this time.
0 commit comments