Skip to content

Commit

Permalink
patch(vest): always generate errors and warnings arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Apr 1, 2022
1 parent b20ef64 commit 7dbc324
Show file tree
Hide file tree
Showing 15 changed files with 363 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Object {
"testCount": 1,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_2": Object {
"errorCount": 1,
Expand All @@ -19,15 +20,19 @@ Object {
"testCount": 1,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_3": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 1,
"valid": true,
"warnCount": 0,
"warnings": Array [],
},
"field_4": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 2,
"valid": true,
"warnCount": 1,
Expand All @@ -44,18 +49,23 @@ Object {
"testCount": 2,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_6": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 1,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_7": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 1,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Object {
"testCount": 1,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_2": Object {
"errorCount": 1,
Expand All @@ -34,15 +35,19 @@ Object {
"testCount": 1,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_3": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 1,
"valid": true,
"warnCount": 0,
"warnings": Array [],
},
"field_4": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 2,
"valid": true,
"warnCount": 1,
Expand All @@ -52,9 +57,11 @@ Object {
},
"field_5": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 0,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
},
"valid": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ Object {
"group": Object {
"field_1": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 0,
"warnCount": 0,
"warnings": Array [],
},
"field_4": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 0,
"warnCount": 0,
"warnings": Array [],
},
},
},
Expand All @@ -38,24 +42,31 @@ Object {
"testCount": 1,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_2": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 2,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_3": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 0,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_4": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 0,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
},
"valid": false,
Expand All @@ -74,13 +85,17 @@ Object {
"group": Object {
"field_1": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 0,
"warnCount": 0,
"warnings": Array [],
},
"field_4": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 0,
"warnCount": 0,
"warnings": Array [],
},
},
},
Expand All @@ -100,6 +115,7 @@ Object {
"testCount": 1,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_2": Object {
"errorCount": 1,
Expand All @@ -109,18 +125,23 @@ Object {
"testCount": 2,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_3": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 0,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_4": Object {
"errorCount": 0,
"errors": Array [],
"testCount": 0,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
},
"valid": false,
Expand All @@ -144,6 +165,7 @@ Object {
],
"testCount": 1,
"warnCount": 0,
"warnings": Array [],
},
"field_4": Object {
"errorCount": 1,
Expand All @@ -152,6 +174,7 @@ Object {
],
"testCount": 1,
"warnCount": 0,
"warnings": Array [],
},
},
},
Expand All @@ -172,6 +195,7 @@ Object {
"testCount": 2,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_2": Object {
"errorCount": 1,
Expand All @@ -181,6 +205,7 @@ Object {
"testCount": 2,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_3": Object {
"errorCount": 1,
Expand All @@ -190,6 +215,7 @@ Object {
"testCount": 2,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
"field_4": Object {
"errorCount": 1,
Expand All @@ -199,6 +225,7 @@ Object {
"testCount": 1,
"valid": false,
"warnCount": 0,
"warnings": Array [],
},
},
"valid": false,
Expand Down
Loading

0 comments on commit 7dbc324

Please sign in to comment.