2017-12-02 15:01:06 +01:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2019-01-31 21:58:59 +01:00
|
|
|
exports[`<NotFound /> component should load the component in default state 1`] = `
|
|
|
|
ShallowWrapper {
|
|
|
|
Symbol(enzyme.__root__): ShallowWrapper {
|
|
|
|
Symbol(enzyme.__root__): [Circular],
|
|
|
|
Symbol(enzyme.__unrendered__): <BrowserRouter>
|
|
|
|
<withRouter(WithTheme(WithWidth(NotFound))) />
|
|
|
|
</BrowserRouter>,
|
|
|
|
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": <withRouter(WithTheme(WithWidth(NotFound))) />,
|
|
|
|
"history": Object {
|
|
|
|
"action": "POP",
|
|
|
|
"block": [Function],
|
|
|
|
"createHref": [Function],
|
|
|
|
"go": [Function],
|
|
|
|
"goBack": [Function],
|
|
|
|
"goForward": [Function],
|
|
|
|
"length": 1,
|
|
|
|
"listen": [Function],
|
|
|
|
"location": Object {
|
|
|
|
"hash": "",
|
|
|
|
"pathname": "/",
|
|
|
|
"search": "",
|
|
|
|
"state": undefined,
|
|
|
|
},
|
|
|
|
"push": [Function],
|
|
|
|
"replace": [Function],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
|
|
|
"nodeType": "function",
|
|
|
|
"props": Object {},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": null,
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
Symbol(enzyme.__nodes__): Array [
|
|
|
|
Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
|
|
|
"nodeType": "class",
|
|
|
|
"props": Object {
|
|
|
|
"children": <withRouter(WithTheme(WithWidth(NotFound))) />,
|
|
|
|
"history": Object {
|
|
|
|
"action": "POP",
|
|
|
|
"block": [Function],
|
|
|
|
"createHref": [Function],
|
|
|
|
"go": [Function],
|
|
|
|
"goBack": [Function],
|
|
|
|
"goForward": [Function],
|
|
|
|
"length": 1,
|
|
|
|
"listen": [Function],
|
|
|
|
"location": Object {
|
|
|
|
"hash": "",
|
|
|
|
"pathname": "/",
|
|
|
|
"search": "",
|
|
|
|
"state": undefined,
|
|
|
|
},
|
|
|
|
"push": [Function],
|
|
|
|
"replace": [Function],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
|
|
|
"nodeType": "function",
|
|
|
|
"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,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"attachTo": undefined,
|
|
|
|
"hydrateIn": undefined,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Symbol(enzyme.__unrendered__): null,
|
|
|
|
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": "function",
|
|
|
|
"props": Object {},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": null,
|
|
|
|
"type": [Function],
|
|
|
|
},
|
|
|
|
Symbol(enzyme.__nodes__): Array [
|
|
|
|
Object {
|
|
|
|
"instance": null,
|
|
|
|
"key": undefined,
|
|
|
|
"nodeType": "function",
|
|
|
|
"props": Object {},
|
|
|
|
"ref": null,
|
|
|
|
"rendered": null,
|
|
|
|
"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,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"attachTo": undefined,
|
|
|
|
"hydrateIn": undefined,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
`;
|