-
-
Notifications
You must be signed in to change notification settings - Fork 1k
/
snapshot.test.ts.snap
112 lines (101 loc) · 1.45 KB
/
snapshot.test.ts.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`multiline 1`] = `
"
Hello
World
"
`;
exports[`object 1`] = `
{
"this": {
"is": Set {
"of",
"snapshot",
},
},
}
`;
exports[`properties snapshot 1`] = `
{
"createdAt": Any<Date>,
"id": Any<Number>,
"name": StringContaining "LeBron",
}
`;
exports[`renders mock snapshot 1`] = `[MockFunction spy]`;
exports[`renders mock snapshot 2`] = `
[MockFunction spy] {
"calls": [
[
"hello",
"world",
2,
],
],
"results": [
{
"type": "return",
"value": undefined,
},
],
}
`;
exports[`throwing 1`] = `"omega"`;
exports[`throwing 2`] = `"omega"`;
exports[`throwing 3`] = `
{
"error": "omega",
}
`;
exports[`throwing 4`] = `"omega"`;
exports[`with big array 1`] = `
{
"this": {
"is": Set {
"one",
[
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
],
},
},
}
`;
exports[`with big string 1`] = `
{
"this": {
"is": Set {
"one",
"zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo,zoo",
},
},
}
`;