supertape 10.0.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 CHANGED
@@ -1,3 +1,19 @@
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
+
9
+ 2024.02.15, v10.1.0
10
+
11
+ feature:
12
+ - e55d74d supertape: @supertape/formatter-progress-bar v5.0.0
13
+ - e8d4f09 @supertape/formatter-progress-bar: drop support of node < 18
14
+ - 3b9155c @supertape/formatter-progress-bar: add support of WebStorm
15
+ - 9405efc supertape: supertape v10.0.0
16
+
1
17
  2024.01.26, v10.0.0
2
18
 
3
19
  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 = require('@cloudcmd/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.0.0",
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",
@@ -45,7 +45,7 @@
45
45
  "@supertape/engine-loader": "^2.0.0",
46
46
  "@supertape/formatter-fail": "^3.0.0",
47
47
  "@supertape/formatter-json-lines": "^2.0.0",
48
- "@supertape/formatter-progress-bar": "^4.0.0",
48
+ "@supertape/formatter-progress-bar": "^5.0.0",
49
49
  "@supertape/formatter-short": "^2.0.0",
50
50
  "@supertape/formatter-tap": "^3.0.0",
51
51
  "@supertape/formatter-time": "^1.0.0",