From af992f60eb97ae90eae1d90fc86ece0914b3d3f3 Mon Sep 17 00:00:00 2001 From: tushardhole Date: Mon, 8 Jan 2018 14:25:05 +0530 Subject: [PATCH] refactor(readability): improving missing-expect-assertions-call rule msg --- rules/missing_expect_assertions_call.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {