Skip to content

Commit 5cd4339

Browse files
committed
fix: update snapshots to match --color flag in test scripts
1 parent caf69b9 commit 5cd4339

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`message when property not found 1`] = `
4-
"\\"Property 'background-color' not found in style rules\\"
4+
"[31m\\"Property 'background-color' not found in style rules\\"[39m
55
66
Expected
7-
\\"background-color: black\\"
7+
[32m\\"background-color: black\\"[39m
88
Received:
9-
\\"background-color: undefined\\""
9+
[31m\\"background-color: undefined\\"[39m"
1010
`;
1111

1212
exports[`message when rules not found 1`] = `"No style rules found on passed Component"`;
@@ -17,12 +17,12 @@ exports[`message when rules not found using options 1`] = `
1717
`;
1818

1919
exports[`message when value does not match 1`] = `
20-
"\\"Value mismatch for property 'background'\\"
20+
"[31m\\"Value mismatch for property 'background'\\"[39m
2121
2222
Expected
23-
\\"background: red\\"
23+
[32m\\"background: red\\"[39m
2424
Received:
25-
\\"background: orange\\""
25+
[31m\\"background: orange\\"[39m"
2626
`;
2727

2828
exports[`non existing 1`] = `"No style rules found on passed Component"`;
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`message when property not found 1`] = `
4-
"\\"Property 'color' not found in style rules\\"
4+
"[31m\\"Property 'color' not found in style rules\\"[39m
55
66
Expected
7-
\\"color: black\\"
7+
[32m\\"color: black\\"[39m
88
Received:
9-
\\"color: undefined\\""
9+
[31m\\"color: undefined\\"[39m"
1010
`;
1111

1212
exports[`message when value does not match 1`] = `
13-
"\\"Value mismatch for property 'background-color'\\"
13+
"[31m\\"Value mismatch for property 'background-color'\\"[39m
1414
1515
Expected
16-
\\"background-color: red\\"
16+
[32m\\"background-color: red\\"[39m
1717
Received:
18-
\\"background-color: orange\\""
18+
[31m\\"background-color: orange\\"[39m"
1919
`;

0 commit comments

Comments
 (0)