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
Copy file name to clipboardExpand all lines: src/validation-errors/__tests__/__snapshots__/enum.js.snap
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ exports[`Enum > when value is a primitive > prints correctly for empty value 1`]
5
5
"ENUM should be equal to one of the allowed values",
6
6
"(foo, bar)
7
7
",
8
-
"> 1 |"baz"
9
-
| ^^^^^ 👈🏽 Did you mean bar here?",
8
+
"[0m[31m[1m>[22m[39m[90m 1 |[39m [32m"baz"[39m
9
+
[90m |[39m [31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m [31m[1m👈🏽 Did you mean bar here?[22m[39m[0m",
10
10
]
11
11
`;
12
12
@@ -15,8 +15,8 @@ exports[`Enum > when value is a primitive > prints correctly for enum prop 1`] =
15
15
"ENUM should be equal to one of the allowed values",
16
16
"(foo, bar)
17
17
",
18
-
"> 1 |"baz"
19
-
| ^^^^^ 👈🏽 Did you mean bar here?",
18
+
"[0m[31m[1m>[22m[39m[90m 1 |[39m [32m"baz"[39m
19
+
[90m |[39m [31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m [31m[1m👈🏽 Did you mean bar here?[22m[39m[0m",
20
20
]
21
21
`;
22
22
@@ -25,8 +25,8 @@ exports[`Enum > when value is a primitive > prints correctly for no levenshtein
25
25
"ENUM should be equal to one of the allowed values",
26
26
"(one, two)
27
27
",
28
-
"> 1 |"baz"
29
-
| ^^^^^ 👈🏽 Unexpected value, should be equal to one of the allowed values",
28
+
"[0m[31m[1m>[22m[39m[90m 1 |[39m [32m"baz"[39m
29
+
[90m |[39m [31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m[31m[1m^[22m[39m [31m[1m👈🏽 Unexpected value, should be equal to one of the allowed values[22m[39m[0m",
30
30
]
31
31
`;
32
32
@@ -35,10 +35,10 @@ exports[`Enum > when value is an object > prints correctly for empty value 1`] =
35
35
"ENUM should be equal to one of the allowed values",
0 commit comments