supertape 10.1.0 → 10.2.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 +8 -0
- package/lib/supertape.js +7 -1
- package/package.json +1 -1
package/ChangeLog
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
2024.02.21, v10.2.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 6b6715b @supertape/formatter-time: chalk v5.3.0
|
|
5
|
+
- de5d7ad @supertape/formatter-progress-bar: chalk v5.3.0
|
|
6
|
+
- 833b60b supertape: extend: test, stub
|
|
7
|
+
- eebaf9e @supertape/progress-bar: improve WebStorm support
|
|
8
|
+
|
|
1
9
|
2024.02.15, v10.1.0
|
|
2
10
|
|
|
3
11
|
feature:
|
package/lib/supertape.js
CHANGED
|
@@ -4,6 +4,7 @@ const process = require('process');
|
|
|
4
4
|
const {EventEmitter} = require('events');
|
|
5
5
|
const {PassThrough} = require('stream');
|
|
6
6
|
|
|
7
|
+
const stub = require('@cloudcmd/stub');
|
|
7
8
|
const once = require('once');
|
|
8
9
|
|
|
9
10
|
const options = require('../supertape.json');
|
|
@@ -215,12 +216,17 @@ const getExtend = (extensions, type) => (message, fn, options) => {
|
|
|
215
216
|
});
|
|
216
217
|
};
|
|
217
218
|
|
|
218
|
-
test.stub =
|
|
219
|
+
test.stub = stub;
|
|
219
220
|
test.test = test;
|
|
220
221
|
|
|
221
222
|
test.extend = (extensions) => {
|
|
222
223
|
const extendedTest = getExtend(extensions);
|
|
223
224
|
|
|
225
|
+
assign(extendedTest, {
|
|
226
|
+
test: extendedTest,
|
|
227
|
+
stub,
|
|
228
|
+
});
|
|
229
|
+
|
|
224
230
|
extendedTest.only = getExtend(extensions, {
|
|
225
231
|
only: true,
|
|
226
232
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supertape",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.2.0",
|
|
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",
|