172 lines
4.1 KiB
Plaintext
172 lines
4.1 KiB
Plaintext
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`Metadata rendering 1`] = `
|
||
|
ShallowWrapper {
|
||
|
Symbol(enzyme.__root__): [Circular],
|
||
|
Symbol(enzyme.__unrendered__): <Metadata />,
|
||
|
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": <title>
|
||
|
Regexper
|
||
|
</title>,
|
||
|
"defer": true,
|
||
|
"encodeSpecialCharacters": true,
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": "Regexper",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "Regexper",
|
||
|
"type": "title",
|
||
|
},
|
||
|
"type": [Function],
|
||
|
},
|
||
|
Symbol(enzyme.__nodes__): Array [
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "class",
|
||
|
"props": Object {
|
||
|
"children": <title>
|
||
|
Regexper
|
||
|
</title>,
|
||
|
"defer": true,
|
||
|
"encodeSpecialCharacters": true,
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": "Regexper",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "Regexper",
|
||
|
"type": "title",
|
||
|
},
|
||
|
"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,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
`;
|
||
|
|
||
|
exports[`Metadata rendering with a title 1`] = `
|
||
|
ShallowWrapper {
|
||
|
Symbol(enzyme.__root__): [Circular],
|
||
|
Symbol(enzyme.__unrendered__): <Metadata
|
||
|
title="Testing"
|
||
|
/>,
|
||
|
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": <title>
|
||
|
Regexper - Testing
|
||
|
</title>,
|
||
|
"defer": true,
|
||
|
"encodeSpecialCharacters": true,
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": "Regexper - Testing",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "Regexper - Testing",
|
||
|
"type": "title",
|
||
|
},
|
||
|
"type": [Function],
|
||
|
},
|
||
|
Symbol(enzyme.__nodes__): Array [
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "class",
|
||
|
"props": Object {
|
||
|
"children": <title>
|
||
|
Regexper - Testing
|
||
|
</title>,
|
||
|
"defer": true,
|
||
|
"encodeSpecialCharacters": true,
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": "Regexper - Testing",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "Regexper - Testing",
|
||
|
"type": "title",
|
||
|
},
|
||
|
"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,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
`;
|