forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
diff-test.js.snap
34 lines (28 loc) 路 909 Bytes
/
diff-test.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`collapses big diffs to patch format 1`] = `
"[32m- Expected[39m
[31m+ Received[39m
[33m@@ -6,9 +6,9 @@
[39m[2m 4,[22m
[2m 5,[22m
[2m 6,[22m
[2m 7,[22m
[2m 8,[22m
[31m+ 10,[39m
[2m 9,[22m
[32m- 10,[39m
[2m ],[22m
[2m }[22m"
`;
exports[`falls back to not call toJSON if objects look identical 1`] = `
"[2mCompared values serialize to the same structure.
Printing internal object structure without calling \`toJSON\` instead.[22m
[32m- Expected[39m
[31m+ Received[39m
[2m [22m [2mObject {[22m
[32m-[39m [32m \\"line\\": 1,[39m
[31m+[39m [31m \\"line\\": 2,[39m
[2m [22m [2m \\"toJSON\\": [Function toJSON],[22m
[2m [22m [2m}[22m"
`;
exports[`prints a fallback message if two objects truly look identical 1`] = `"[2mCompared values have no visual difference.[22m"`;