|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
3 |
| -exports[`Test the App Component Matches snapshot 1`] = ` |
4 |
| -ShallowWrapper { |
5 |
| - Symbol(enzyme.__root__): [Circular], |
6 |
| - Symbol(enzyme.__unrendered__): <Unknown />, |
7 |
| - Symbol(enzyme.__renderer__): Object { |
8 |
| - "batchedUpdates": [Function], |
9 |
| - "checkPropTypes": [Function], |
10 |
| - "getNode": [Function], |
11 |
| - "render": [Function], |
12 |
| - "simulateError": [Function], |
13 |
| - "simulateEvent": [Function], |
14 |
| - "unmount": [Function], |
15 |
| - }, |
16 |
| - Symbol(enzyme.__node__): Object { |
17 |
| - "instance": null, |
18 |
| - "key": undefined, |
19 |
| - "nodeType": "host", |
20 |
| - "props": Object { |
21 |
| - "children": <div> |
22 |
| - <header |
23 |
| - style={ |
24 |
| - Object { |
25 |
| - "height": "40px", |
26 |
| - "width": "100%", |
27 |
| - } |
28 |
| - } |
29 |
| - > |
30 |
| - ReacType |
31 |
| - </header> |
32 |
| - <Connect(AppContainer) /> |
33 |
| - </div>, |
34 |
| - "className": "app", |
35 |
| - }, |
36 |
| - "ref": null, |
37 |
| - "rendered": Object { |
38 |
| - "instance": null, |
39 |
| - "key": undefined, |
40 |
| - "nodeType": "host", |
41 |
| - "props": Object { |
42 |
| - "children": Array [ |
43 |
| - <header |
44 |
| - style={ |
45 |
| - Object { |
46 |
| - "height": "40px", |
47 |
| - "width": "100%", |
48 |
| - } |
49 |
| - } |
50 |
| - > |
51 |
| - ReacType |
52 |
| - </header>, |
53 |
| - <Connect(AppContainer) />, |
54 |
| - ], |
55 |
| - }, |
56 |
| - "ref": null, |
57 |
| - "rendered": Array [ |
58 |
| - Object { |
59 |
| - "instance": null, |
60 |
| - "key": undefined, |
61 |
| - "nodeType": "host", |
62 |
| - "props": Object { |
63 |
| - "children": "ReacType", |
64 |
| - "style": Object { |
65 |
| - "height": "40px", |
66 |
| - "width": "100%", |
67 |
| - }, |
68 |
| - }, |
69 |
| - "ref": null, |
70 |
| - "rendered": "ReacType", |
71 |
| - "type": "header", |
72 |
| - }, |
73 |
| - Object { |
74 |
| - "instance": null, |
75 |
| - "key": undefined, |
76 |
| - "nodeType": "class", |
77 |
| - "props": Object {}, |
78 |
| - "ref": null, |
79 |
| - "rendered": null, |
80 |
| - "type": [Function], |
81 |
| - }, |
82 |
| - ], |
83 |
| - "type": "div", |
84 |
| - }, |
85 |
| - "type": "div", |
86 |
| - }, |
87 |
| - Symbol(enzyme.__nodes__): Array [ |
88 |
| - Object { |
89 |
| - "instance": null, |
90 |
| - "key": undefined, |
91 |
| - "nodeType": "host", |
92 |
| - "props": Object { |
93 |
| - "children": <div> |
94 |
| - <header |
95 |
| - style={ |
96 |
| - Object { |
97 |
| - "height": "40px", |
98 |
| - "width": "100%", |
99 |
| - } |
100 |
| - } |
101 |
| - > |
102 |
| - ReacType |
103 |
| - </header> |
104 |
| - <Connect(AppContainer) /> |
105 |
| - </div>, |
106 |
| - "className": "app", |
107 |
| - }, |
108 |
| - "ref": null, |
109 |
| - "rendered": Object { |
110 |
| - "instance": null, |
111 |
| - "key": undefined, |
112 |
| - "nodeType": "host", |
113 |
| - "props": Object { |
114 |
| - "children": Array [ |
115 |
| - <header |
116 |
| - style={ |
117 |
| - Object { |
118 |
| - "height": "40px", |
119 |
| - "width": "100%", |
120 |
| - } |
121 |
| - } |
122 |
| - > |
123 |
| - ReacType |
124 |
| - </header>, |
125 |
| - <Connect(AppContainer) />, |
126 |
| - ], |
127 |
| - }, |
128 |
| - "ref": null, |
129 |
| - "rendered": Array [ |
130 |
| - Object { |
131 |
| - "instance": null, |
132 |
| - "key": undefined, |
133 |
| - "nodeType": "host", |
134 |
| - "props": Object { |
135 |
| - "children": "ReacType", |
136 |
| - "style": Object { |
137 |
| - "height": "40px", |
138 |
| - "width": "100%", |
139 |
| - }, |
140 |
| - }, |
141 |
| - "ref": null, |
142 |
| - "rendered": "ReacType", |
143 |
| - "type": "header", |
144 |
| - }, |
145 |
| - Object { |
146 |
| - "instance": null, |
147 |
| - "key": undefined, |
148 |
| - "nodeType": "class", |
149 |
| - "props": Object {}, |
150 |
| - "ref": null, |
151 |
| - "rendered": null, |
152 |
| - "type": [Function], |
153 |
| - }, |
154 |
| - ], |
155 |
| - "type": "div", |
156 |
| - }, |
157 |
| - "type": "div", |
158 |
| - }, |
159 |
| - ], |
160 |
| - Symbol(enzyme.__options__): Object { |
161 |
| - "adapter": ReactSixteenAdapter { |
162 |
| - "options": Object { |
163 |
| - "enableComponentDidUpdateOnSetState": true, |
164 |
| - "legacyContextMode": "parent", |
165 |
| - "lifecycles": Object { |
166 |
| - "componentDidUpdate": Object { |
167 |
| - "onSetState": true, |
168 |
| - }, |
169 |
| - "getChildContext": Object { |
170 |
| - "calledByRenderer": false, |
171 |
| - }, |
172 |
| - "getDerivedStateFromError": true, |
173 |
| - "getDerivedStateFromProps": Object { |
174 |
| - "hasShouldComponentUpdateBug": false, |
175 |
| - }, |
176 |
| - "getSnapshotBeforeUpdate": true, |
177 |
| - "setState": Object { |
178 |
| - "skipsComponentDidUpdateOnNullish": true, |
179 |
| - }, |
180 |
| - }, |
181 |
| - }, |
182 |
| - }, |
183 |
| - Symbol(enzyme.__providerValues__): undefined, |
184 |
| - }, |
185 |
| - Symbol(enzyme.__providerValues__): Map {}, |
186 |
| -} |
187 |
| -`; |
| 3 | +exports[`Test the App Component Matches snapshot 1`] = `ShallowWrapper {}`; |
0 commit comments