Skip to content

Commit

Permalink
Modify rule S1607: Allow to add an explanation comment after the test…
Browse files Browse the repository at this point in the history
… disabling (#4243)

Co-authored-by: Ilia Kebets <[email protected]>
  • Loading branch information
1 parent a2b0adf commit ef51d76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rules/S1607/javascript/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This rule raises an issue when a test construct from Jasmine, Jest, Mocha, or No

== How to fix it in Jasmine

A comment should be added before the line of the unit test explaining why the test was disabled. Alternatively, if the test is no longer relevant, it should be removed entirely.
A comment should be added before, on, or after the line of the unit test explaining why the test was disabled. Alternatively, if the test is no longer relevant, it should be removed entirely.

=== Code examples

Expand Down Expand Up @@ -35,7 +35,7 @@ describe('foo', function() {

== How to fix it in Jest

A comment should be added before the line of the unit test explaining why the test was disabled. Alternatively, if the test is no longer relevant, it should be removed entirely.
A comment should be added before, on, or after the line of the unit test explaining why the test was disabled. Alternatively, if the test is no longer relevant, it should be removed entirely.

=== Code examples

Expand Down Expand Up @@ -64,7 +64,7 @@ describe('foo', function() {

== How to fix it in Mocha

A comment should be added before the line of the unit test explaining why the test was disabled. Alternatively, if the test is no longer relevant, it should be removed entirely.
A comment should be added before, on, or after the line of the unit test explaining why the test was disabled. Alternatively, if the test is no longer relevant, it should be removed entirely.

=== Code examples

Expand Down

0 comments on commit ef51d76

Please sign in to comment.