regexper-static/src/components/Layout/__snapshots__/test.js.snap

151 lines
3.5 KiB
Plaintext
Raw Normal View History

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
banner="Test Banner"
buildId="test-buildid"
>
2019-01-04 23:38:49 +00:00
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 [
<LoadNamespace(Header)
banner="Test Banner"
/>,
2019-01-04 23:38:49 +00:00
<SentryBoundary>
Example content
</SentryBoundary>,
<LoadNamespace(Footer)
buildId="test-buildid"
/>,
2019-01-04 23:38:49 +00:00
],
},
"ref": null,
"rendered": Array [
Object {
"instance": null,
"key": undefined,
"nodeType": "class",
"props": Object {
"banner": "Test Banner",
},
2019-01-04 23:38:49 +00:00
"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,
"nodeType": "class",
"props": Object {
"buildId": "test-buildid",
},
2019-01-04 23:38:49 +00:00
"ref": null,
"rendered": null,
"type": [Function],
},
],
"type": [Function],
},
Symbol(enzyme.__nodes__): Array [
Object {
"instance": null,
"key": undefined,
"nodeType": "class",
"props": Object {
"children": Array [
<LoadNamespace(Header)
banner="Test Banner"
/>,
2019-01-04 23:38:49 +00:00
<SentryBoundary>
Example content
</SentryBoundary>,
<LoadNamespace(Footer)
buildId="test-buildid"
/>,
2019-01-04 23:38:49 +00:00
],
},
"ref": null,
"rendered": Array [
Object {
"instance": null,
"key": undefined,
"nodeType": "class",
"props": Object {
"banner": "Test Banner",
},
2019-01-04 23:38:49 +00:00
"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,
"nodeType": "class",
"props": Object {
"buildId": "test-buildid",
},
2019-01-04 23:38:49 +00:00
"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,
},
},
},
},
},
}
`;