diff --git a/rules/missing_expect_assertions_call.js b/rules/missing_expect_assertions_call.js index fbab8e269..684b1bbc4 100644 --- a/rules/missing_expect_assertions_call.js +++ b/rules/missing_expect_assertions_call.js @@ -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()` or `expect.hasAssertions()` as it's first expression"; const validateArguments = expression => { try {