forked from jestjs/jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index-test.js.snap
25 lines (18 loc) · 975 Bytes
/
index-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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`.stringify() reduces maxDepth if stringifying very large objects 1`] = `"{\\"a\\": 1, \\"b\\": [Object]}"`;
exports[`.stringify() reduces maxDepth if stringifying very large objects 2`] = `"{\\"a\\": 1, \\"b\\": {\\"0\\": \\"test\\", \\"1\\": \\"test\\", \\"2\\": \\"test\\", \\"3\\": \\"test\\", \\"4\\": \\"test\\", \\"5\\": \\"test\\", \\"6\\": \\"test\\", \\"7\\": \\"test\\", \\"8\\": \\"test\\", \\"9\\": \\"test\\"}}"`;
exports[`.stringify() toJSON errors when comparing two objects 1`] = `
"[2mexpect([22m[31mreceived[39m[2m).toEqual([22m[32mexpected[39m[2m)[22m
Expected value to equal:
[32m{\\"b\\": 1, \\"toJSON\\": [Function toJSON]}[39m
Received:
[31m{\\"a\\": 1, \\"toJSON\\": [Function toJSON]}[39m
Difference:
[32m- Expected[39m
[31m+ Received[39m
[2m Object {[22m
[32m- \\"b\\": 1,[39m
[31m+ \\"a\\": 1,[39m
[2m \\"toJSON\\": [Function toJSON],[22m
[2m }[22m"
`;