2019-01-04 23:38:49 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Layout rendering 1`] = `
|
|
|
|
ShallowWrapper {
|
|
|
|
Symbol(enzyme.__root__): [Circular],
|
|
|
|
Symbol(enzyme.__unrendered__): <Layout>
|
|
|
|
Example content
|
|
|
|
</Layout>,
|
|
|
|
Symbol(enzyme.__renderer__): Object {
|
|
|
|
"batchedUpdates": [Function],
|
|
|
|
"getNode": [Function],
|
|
|
|
"render": [Function],
|
|
|
|
"simulateError": [Function],
|
|
|
|
"simulateEvent": [Function],
|
|
|
|
"unmount": [Function],
|
|
|
|
},
|
|
|
|
Symbol(enzyme.__node__): Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
|
|
|
"nodeType": "class",
|
|
|
|
"props": Object {
|
|
|
|
"children": Array [
|
2019-01-06 18:25:33 +00:00
|
|
|
<LoadNamespace(Component) />,
|
2019-01-04 23:38:49 +00:00
|
|
|
<SentryBoundary>
|
|
|
|
Example content
|
|
|
|
</SentryBoundary>,
|
2019-01-06 18:25:33 +00:00
|
|
|
<LoadNamespace(Component) />,
|
2019-01-04 23:38:49 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": Array [
|
|
|
|
Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
2019-01-06 18:25:33 +00:00
|
|
|
"nodeType": "class",
|
2019-01-04 23:38:49 +00:00
|
|
|
"props": Object {},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": null,
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
|
|
|
"nodeType": "class",
|
|
|
|
"props": Object {
|
|
|
|
"children": "Example content",
|
|
|
|
},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": "Example content",
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
2019-01-06 18:25:33 +00:00
|
|
|
"nodeType": "class",
|
2019-01-04 23:38:49 +00:00
|
|
|
"props": Object {},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": null,
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
Symbol(enzyme.__nodes__): Array [
|
|
|
|
Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
|
|
|
"nodeType": "class",
|
|
|
|
"props": Object {
|
|
|
|
"children": Array [
|
2019-01-06 18:25:33 +00:00
|
|
|
<LoadNamespace(Component) />,
|
2019-01-04 23:38:49 +00:00
|
|
|
<SentryBoundary>
|
|
|
|
Example content
|
|
|
|
</SentryBoundary>,
|
2019-01-06 18:25:33 +00:00
|
|
|
<LoadNamespace(Component) />,
|
2019-01-04 23:38:49 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": Array [
|
|
|
|
Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
2019-01-06 18:25:33 +00:00
|
|
|
"nodeType": "class",
|
2019-01-04 23:38:49 +00:00
|
|
|
"props": Object {},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": null,
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
|
|
|
"nodeType": "class",
|
|
|
|
"props": Object {
|
|
|
|
"children": "Example content",
|
|
|
|
},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": "Example content",
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
2019-01-06 18:25:33 +00:00
|
|
|
"nodeType": "class",
|
2019-01-04 23:38:49 +00:00
|
|
|
"props": Object {},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": null,
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
Symbol(enzyme.__options__): Object {
|
|
|
|
"adapter": ReactSixteenAdapter {
|
|
|
|
"options": Object {
|
|
|
|
"enableComponentDidUpdateOnSetState": true,
|
|
|
|
"lifecycles": Object {
|
|
|
|
"componentDidUpdate": Object {
|
|
|
|
"onSetState": true,
|
|
|
|
},
|
|
|
|
"getDerivedStateFromProps": true,
|
|
|
|
"getSnapshotBeforeUpdate": true,
|
|
|
|
"setState": Object {
|
|
|
|
"skipsComponentDidUpdateOnNullish": true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
`;
|