supertape 6.9.4 → 6.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ChangeLog +6 -0
- package/lib/validator.js +3 -0
- package/package.json +1 -1
package/ChangeLog
CHANGED
package/lib/validator.js
CHANGED
|
@@ -96,6 +96,9 @@ function checkAssertionsCount(msg, filtered, options) {
|
|
|
96
96
|
if (assertionsCount > 1)
|
|
97
97
|
return [`Only one assertion per test allowed, looks like you have more`, at];
|
|
98
98
|
|
|
99
|
+
if (!assertionsCount)
|
|
100
|
+
return [`Only one assertion per test allowed, looks like you have none`, at];
|
|
101
|
+
|
|
99
102
|
return [];
|
|
100
103
|
}
|
|
101
104
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supertape",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.10.0",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "tape compatible test runner with superpowers",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/supertape",
|