supertape 7.5.0 → 7.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 +6 -0
- package/lib/supertape.d.ts +8 -4
- package/package.json +1 -1
package/ChangeLog
CHANGED
package/lib/supertape.d.ts
CHANGED
|
@@ -13,7 +13,11 @@ type Result = {
|
|
|
13
13
|
output: string,
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
type
|
|
16
|
+
type Operator = {
|
|
17
|
+
[index: string]: (...args: any[]) => Result
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
type Test = Operator & OperatorStub & {
|
|
17
21
|
equal: (result: unknown, expected: unknown, message?: string) => Result;
|
|
18
22
|
notEqual: (result: unknown, expected: unknown, message?: string) => Result;
|
|
19
23
|
deepEqual: (result: unknown, expected: unknown, message?: string) => Result;
|
|
@@ -42,11 +46,11 @@ declare namespace test {
|
|
|
42
46
|
|
|
43
47
|
export default test;
|
|
44
48
|
|
|
45
|
-
type
|
|
46
|
-
[index: string]: (operator:
|
|
49
|
+
type CustomOperator = {
|
|
50
|
+
[index: string]: (operator: Operator) => (...args: any[]) => Result
|
|
47
51
|
};
|
|
48
52
|
|
|
49
|
-
declare function extend(
|
|
53
|
+
declare function extend(customOperator: CustomOperator): typeof test;
|
|
50
54
|
|
|
51
55
|
export {
|
|
52
56
|
test,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supertape",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.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",
|