vest 4.3.1 → 4.3.2-dev-2805e3
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/dist/cjs/classnames.development.js +21 -18
- package/dist/cjs/classnames.production.js +1 -1
- package/dist/cjs/enforce/compounds.development.js +3 -3
- package/dist/cjs/enforce/compounds.production.js +1 -1
- package/dist/cjs/parser.development.js +21 -18
- package/dist/cjs/parser.production.js +1 -1
- package/dist/cjs/vest.development.js +121 -134
- package/dist/cjs/vest.production.js +1 -1
- package/dist/es/classnames.development.js +21 -18
- package/dist/es/classnames.production.js +1 -1
- package/dist/es/enforce/compounds.development.js +3 -3
- package/dist/es/enforce/compounds.production.js +1 -1
- package/dist/es/parser.development.js +21 -18
- package/dist/es/parser.production.js +1 -1
- package/dist/es/vest.development.js +121 -134
- package/dist/es/vest.production.js +1 -1
- package/dist/umd/classnames.development.js +21 -18
- package/dist/umd/classnames.production.js +1 -1
- package/dist/umd/enforce/compose.development.js +12 -8
- package/dist/umd/enforce/compose.production.js +1 -1
- package/dist/umd/enforce/compounds.development.js +15 -11
- package/dist/umd/enforce/compounds.production.js +1 -1
- package/dist/umd/enforce/schema.development.js +12 -8
- package/dist/umd/enforce/schema.production.js +1 -1
- package/dist/umd/parser.development.js +21 -18
- package/dist/umd/parser.production.js +1 -1
- package/dist/umd/vest.development.js +128 -141
- package/dist/umd/vest.production.js +1 -1
- package/package.json +3 -3
- package/types/classnames.d.ts +9 -5
- package/types/parser.d.ts +9 -5
- package/types/promisify.d.ts +9 -5
- package/types/vest.d.ts +10 -6
package/types/promisify.d.ts
CHANGED
|
@@ -2,17 +2,21 @@
|
|
|
2
2
|
* Reads the testObjects list and gets full validation result from it.
|
|
3
3
|
*/
|
|
4
4
|
declare function genTestsSummary(): SuiteSummary;
|
|
5
|
-
type Groups = Record<string, TestGroup>;
|
|
6
5
|
type SuiteSummary = {
|
|
7
6
|
groups: Groups;
|
|
8
|
-
tests:
|
|
7
|
+
tests: Tests;
|
|
9
8
|
valid: boolean;
|
|
10
9
|
} & SummaryBase;
|
|
11
|
-
type
|
|
12
|
-
type
|
|
10
|
+
type GroupTestSummary = BaseTestSummary;
|
|
11
|
+
type Groups = Record<string, Group>;
|
|
12
|
+
type Group = Record<string, GroupTestSummary>;
|
|
13
|
+
type Tests = Record<string, SingleTestSummary>;
|
|
14
|
+
type SingleTestSummary = BaseTestSummary & {
|
|
15
|
+
valid: boolean;
|
|
16
|
+
};
|
|
17
|
+
type BaseTestSummary = SummaryBase & {
|
|
13
18
|
errors: string[];
|
|
14
19
|
warnings: string[];
|
|
15
|
-
valid: boolean;
|
|
16
20
|
};
|
|
17
21
|
type SummaryBase = {
|
|
18
22
|
errorCount: number;
|
package/types/vest.d.ts
CHANGED
|
@@ -53,17 +53,21 @@ type CB = (...args: any[]) => void;
|
|
|
53
53
|
* Reads the testObjects list and gets full validation result from it.
|
|
54
54
|
*/
|
|
55
55
|
declare function genTestsSummary(): SuiteSummary;
|
|
56
|
-
type Groups = Record<string, TestGroup>;
|
|
57
56
|
type SuiteSummary = {
|
|
58
57
|
groups: Groups;
|
|
59
|
-
tests:
|
|
58
|
+
tests: Tests;
|
|
60
59
|
valid: boolean;
|
|
61
60
|
} & SummaryBase;
|
|
62
|
-
type
|
|
63
|
-
type
|
|
61
|
+
type GroupTestSummary = BaseTestSummary;
|
|
62
|
+
type Groups = Record<string, Group>;
|
|
63
|
+
type Group = Record<string, GroupTestSummary>;
|
|
64
|
+
type Tests = Record<string, SingleTestSummary>;
|
|
65
|
+
type SingleTestSummary = BaseTestSummary & {
|
|
66
|
+
valid: boolean;
|
|
67
|
+
};
|
|
68
|
+
type BaseTestSummary = SummaryBase & {
|
|
64
69
|
errors: string[];
|
|
65
70
|
warnings: string[];
|
|
66
|
-
valid: boolean;
|
|
67
71
|
};
|
|
68
72
|
type SummaryBase = {
|
|
69
73
|
errorCount: number;
|
|
@@ -349,6 +353,6 @@ declare const test: typeof testBase & {
|
|
|
349
353
|
* Sets a running test to warn only mode.
|
|
350
354
|
*/
|
|
351
355
|
declare function warn(): void;
|
|
352
|
-
declare const VERSION = "4.3.
|
|
356
|
+
declare const VERSION = "4.3.2-dev-2805e3";
|
|
353
357
|
export { test, create, each, only, skip, warn, group, optional, skipWhen, omitWhen, enforce, VERSION, context, include, eager };
|
|
354
358
|
export type { SuiteResult, SuiteRunResult, SuiteSummary, VestTest, Suite };
|