supertape 13.4.3 → 13.5.1

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,13 @@
1
+ 2026.07.24, v13.5.1
2
+
3
+ fix:
4
+ - 1214b76 supertape: extends: no args
5
+
6
+ 2026.07.24, v13.5.0
7
+
8
+ feature:
9
+ - 4c93158 supertape: extend: types
10
+
1
11
  2026.07.19, v13.4.3
2
12
 
3
13
  fix:
@@ -38,9 +38,12 @@ export type TestOptions = {
38
38
  timeout?: number;
39
39
  };
40
40
 
41
- export type TestFunction<T extends Test = Test> = ((message: string, fn: (t: T) => void, options?: TestOptions) => void) & {
41
+ type TestFunction<T extends Test = Test> = ((message: string, fn: (t: T) => void, options?: TestOptions) => void) & {
42
42
  skip: TestFunction<T>;
43
43
  only: TestFunction<T>;
44
+ extend<U extends CustomOperator = {}>(
45
+ operators?: U,
46
+ ): TestFunction<T & OperatorsToMethods<U>>;
44
47
  };
45
48
 
46
49
  export let test: TestFunction<Test>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supertape",
3
- "version": "13.4.3",
3
+ "version": "13.5.1",
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",