supertape 8.1.0 → 8.3.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 +15 -0
- package/lib/supertape.d.ts +7 -2
- package/lib/validator.js +1 -1
- package/package.json +2 -2
package/ChangeLog
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
2023.02.03, v8.3.0
|
|
2
|
+
|
|
3
|
+
fix:
|
|
4
|
+
- @supertape/formatter-fail: export: default -> named
|
|
5
|
+
|
|
6
|
+
feature:
|
|
7
|
+
- validate: add support of any symbol before ":"
|
|
8
|
+
|
|
9
|
+
2022.11.14, v8.2.0
|
|
10
|
+
|
|
11
|
+
feature:
|
|
12
|
+
- supertape: types: improve support of skip, only in WebStorm
|
|
13
|
+
- (package) putout v28.0.0
|
|
14
|
+
- (package) lerna v6.0.1
|
|
15
|
+
|
|
1
16
|
2022.09.15, v8.1.0
|
|
2
17
|
|
|
3
18
|
feature:
|
package/lib/supertape.d.ts
CHANGED
|
@@ -39,9 +39,14 @@ type TestOptions = {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
declare function test(message: string, fn: (t: Test) => void, options?: TestOptions): void;
|
|
42
|
+
declare const skip: typeof test;
|
|
43
|
+
declare const only: typeof test;
|
|
44
|
+
|
|
42
45
|
declare namespace test {
|
|
43
|
-
export
|
|
44
|
-
|
|
46
|
+
export {
|
|
47
|
+
only,
|
|
48
|
+
skip,
|
|
49
|
+
};
|
|
45
50
|
}
|
|
46
51
|
|
|
47
52
|
export default test;
|
package/lib/validator.js
CHANGED
|
@@ -8,7 +8,7 @@ const getMessage = ({message, at, validations}) => [message, at, validations];
|
|
|
8
8
|
|
|
9
9
|
const getMessagesList = (tests) => tests.map(getMessage);
|
|
10
10
|
const compareMessage = (a) => ([b]) => a === b;
|
|
11
|
-
const SCOPE_DEFINED =
|
|
11
|
+
const SCOPE_DEFINED = /^.*[\w-/\d\s]+:.*/;
|
|
12
12
|
const processedList = new Set();
|
|
13
13
|
|
|
14
14
|
const validations = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supertape",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.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",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"montag": "^1.0.0",
|
|
88
88
|
"nodemon": "^2.0.2",
|
|
89
89
|
"pullout": "^4.0.0",
|
|
90
|
-
"putout": "^
|
|
90
|
+
"putout": "^28.0.0",
|
|
91
91
|
"runsome": "^1.0.0",
|
|
92
92
|
"try-catch": "^3.0.0",
|
|
93
93
|
"typescript": "^4.4.4"
|