You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exports[`vestResolver should return all the error messages from vestResolver when validation fails and validateAllFieldCriteria set to true 1`] =`
4
+
Object {
5
+
"errors": Object {
6
+
"deepObject": Object {
7
+
"data": Object {
8
+
"message": "deepObject.data is required",
9
+
"type": "",
10
+
"types": Object {
11
+
"0": "deepObject.data is required",
12
+
},
13
+
},
14
+
},
15
+
"password": Object {
16
+
"message": "Password must be at least 5 chars",
17
+
"type": "",
18
+
"types": Object {
19
+
"0": "Password must be at least 5 chars",
20
+
"1": "Password must contain a digit",
21
+
"2": "Password must contain a symbol",
22
+
},
23
+
},
24
+
"username": Object {
25
+
"message": "Username is required",
26
+
"type": "",
27
+
"types": Object {
28
+
"0": "Username is required",
29
+
"1": "Must be longer than 3 chars",
30
+
},
31
+
},
32
+
},
33
+
"values": Object {},
34
+
}
35
+
`;
36
+
37
+
exports[`vestResolver should return all the error messages from vestResolver when validation fails and validateAllFieldCriteria set to true and \`mode: sync\` 1`] =`
38
+
Object {
39
+
"errors": Object {
40
+
"deepObject": Object {
41
+
"data": Object {
42
+
"message": "deepObject.data is required",
43
+
"type": "",
44
+
"types": Object {
45
+
"0": "deepObject.data is required",
46
+
},
47
+
},
48
+
},
49
+
"password": Object {
50
+
"message": "Password must be at least 5 chars",
51
+
"type": "",
52
+
"types": Object {
53
+
"0": "Password must be at least 5 chars",
54
+
"1": "Password must contain a digit",
55
+
"2": "Password must contain a symbol",
56
+
},
57
+
},
58
+
"username": Object {
59
+
"message": "Username is required",
60
+
"type": "",
61
+
"types": Object {
62
+
"0": "Username is required",
63
+
"1": "Must be longer than 3 chars",
64
+
},
65
+
},
66
+
},
67
+
"values": Object {},
68
+
}
69
+
`;
70
+
71
+
exports[`vestResolver should return single error message from vestResolver when validation fails and validateAllFieldCriteria set to false 1`] =`
72
+
Object {
73
+
"errors": Object {
74
+
"deepObject": Object {
75
+
"data": Object {
76
+
"message": "deepObject.data is required",
77
+
"type": "",
78
+
},
79
+
},
80
+
"password": Object {
81
+
"message": "Password must be at least 5 chars",
82
+
"type": "",
83
+
},
84
+
"username": Object {
85
+
"message": "Username is required",
86
+
"type": "",
87
+
},
88
+
},
89
+
"values": Object {},
90
+
}
91
+
`;
92
+
93
+
exports[`vestResolver should return single error message from vestResolver when validation fails and validateAllFieldCriteria set to false and \`mode: sync\` 1`] =`
0 commit comments