Skip to content

Commit

Permalink
refactor(readability): improving missing-expect-assertions-call rule msg
Browse files Browse the repository at this point in the history
  • Loading branch information
tushardhole committed Jan 8, 2018
1 parent 32361a1 commit af992f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/missing_expect_assertions_call.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const ruleMsg =
'Every test should have expect.assertions({number of assertions}) OR expect.hasAssertions() as first expression';
"Every test should have either `expect.assertions(<number of assertions>)` or `expect.hasAssertions()` as it's first expression";

const validateArguments = expression => {
try {
Expand Down

0 comments on commit af992f6

Please # to comment.