supertape 11.1.2 → 11.1.3
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 +5 -0
- package/lib/run-tests.js +4 -2
- package/package.json +1 -1
package/ChangeLog
CHANGED
package/lib/run-tests.js
CHANGED
|
@@ -6,12 +6,12 @@ const tryToCatch = require('try-to-catch');
|
|
|
6
6
|
const isDebug = require('./is-debug');
|
|
7
7
|
|
|
8
8
|
const {createValidator} = require('./validator');
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
const inc = wraptile((store) => store(store() + 1));
|
|
11
11
|
const isOnly = ({only}) => only;
|
|
12
12
|
const isSkip = ({skip}) => skip;
|
|
13
13
|
const notSkip = ({skip}) => !skip;
|
|
14
|
-
const parseTime = (a) =>
|
|
14
|
+
const parseTime = (a) => a === 'undefined' ? 1 : a;
|
|
15
15
|
|
|
16
16
|
const getInitOperators = async () => await import('./operators.mjs');
|
|
17
17
|
|
|
@@ -193,3 +193,5 @@ async function runOneTest(options) {
|
|
|
193
193
|
failed: failed(),
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
|
+
|
|
197
|
+
module.exports.parseTime = parseTime;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supertape",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.3",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "📼 Supertape simplest high speed test runner with superpowers",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/supertape",
|