324 lines
9.2 KiB
Plaintext
324 lines
9.2 KiB
Plaintext
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`Index Page rendering 1`] = `
|
||
|
ShallowWrapper {
|
||
|
Symbol(enzyme.__root__): [Circular],
|
||
|
Symbol(enzyme.__unrendered__): <IndexPage />,
|
||
|
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 {
|
||
|
"children": Array [
|
||
|
<noscript>
|
||
|
<Message
|
||
|
heading="JavaScript Required"
|
||
|
type="error"
|
||
|
>
|
||
|
<p>
|
||
|
You need JavaScript to use Regexper.
|
||
|
</p>
|
||
|
<p>
|
||
|
If you have concerns regarding the use of tracking code on Regexper, please see the
|
||
|
<mockConstructor
|
||
|
to="/privacy"
|
||
|
>
|
||
|
Privacy Policy
|
||
|
</mockConstructor>
|
||
|
.
|
||
|
</p>
|
||
|
</Message>
|
||
|
</noscript>,
|
||
|
<div>
|
||
|
Hello world
|
||
|
</div>,
|
||
|
],
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Array [
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": <Message
|
||
|
heading="JavaScript Required"
|
||
|
type="error"
|
||
|
>
|
||
|
<p>
|
||
|
You need JavaScript to use Regexper.
|
||
|
</p>
|
||
|
<p>
|
||
|
If you have concerns regarding the use of tracking code on Regexper, please see the
|
||
|
<mockConstructor
|
||
|
to="/privacy"
|
||
|
>
|
||
|
Privacy Policy
|
||
|
</mockConstructor>
|
||
|
.
|
||
|
</p>
|
||
|
</Message>,
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "function",
|
||
|
"props": Object {
|
||
|
"children": Array [
|
||
|
<p>
|
||
|
You need JavaScript to use Regexper.
|
||
|
</p>,
|
||
|
<p>
|
||
|
If you have concerns regarding the use of tracking code on Regexper, please see the
|
||
|
<mockConstructor
|
||
|
to="/privacy"
|
||
|
>
|
||
|
Privacy Policy
|
||
|
</mockConstructor>
|
||
|
.
|
||
|
</p>,
|
||
|
],
|
||
|
"heading": "JavaScript Required",
|
||
|
"type": "error",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Array [
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": "You need JavaScript to use Regexper.",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "You need JavaScript to use Regexper.",
|
||
|
"type": "p",
|
||
|
},
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": Array [
|
||
|
"If you have concerns regarding the use of tracking code on Regexper, please see the ",
|
||
|
<mockConstructor
|
||
|
to="/privacy"
|
||
|
>
|
||
|
Privacy Policy
|
||
|
</mockConstructor>,
|
||
|
".",
|
||
|
],
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Array [
|
||
|
"If you have concerns regarding the use of tracking code on Regexper, please see the ",
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "function",
|
||
|
"props": Object {
|
||
|
"children": "Privacy Policy",
|
||
|
"to": "/privacy",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "Privacy Policy",
|
||
|
"type": [MockFunction],
|
||
|
},
|
||
|
".",
|
||
|
],
|
||
|
"type": "p",
|
||
|
},
|
||
|
],
|
||
|
"type": [Function],
|
||
|
},
|
||
|
"type": "noscript",
|
||
|
},
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": "Hello world",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "Hello world",
|
||
|
"type": "div",
|
||
|
},
|
||
|
],
|
||
|
"type": [Function],
|
||
|
},
|
||
|
Symbol(enzyme.__nodes__): Array [
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "function",
|
||
|
"props": Object {
|
||
|
"children": Array [
|
||
|
<noscript>
|
||
|
<Message
|
||
|
heading="JavaScript Required"
|
||
|
type="error"
|
||
|
>
|
||
|
<p>
|
||
|
You need JavaScript to use Regexper.
|
||
|
</p>
|
||
|
<p>
|
||
|
If you have concerns regarding the use of tracking code on Regexper, please see the
|
||
|
<mockConstructor
|
||
|
to="/privacy"
|
||
|
>
|
||
|
Privacy Policy
|
||
|
</mockConstructor>
|
||
|
.
|
||
|
</p>
|
||
|
</Message>
|
||
|
</noscript>,
|
||
|
<div>
|
||
|
Hello world
|
||
|
</div>,
|
||
|
],
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Array [
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": <Message
|
||
|
heading="JavaScript Required"
|
||
|
type="error"
|
||
|
>
|
||
|
<p>
|
||
|
You need JavaScript to use Regexper.
|
||
|
</p>
|
||
|
<p>
|
||
|
If you have concerns regarding the use of tracking code on Regexper, please see the
|
||
|
<mockConstructor
|
||
|
to="/privacy"
|
||
|
>
|
||
|
Privacy Policy
|
||
|
</mockConstructor>
|
||
|
.
|
||
|
</p>
|
||
|
</Message>,
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "function",
|
||
|
"props": Object {
|
||
|
"children": Array [
|
||
|
<p>
|
||
|
You need JavaScript to use Regexper.
|
||
|
</p>,
|
||
|
<p>
|
||
|
If you have concerns regarding the use of tracking code on Regexper, please see the
|
||
|
<mockConstructor
|
||
|
to="/privacy"
|
||
|
>
|
||
|
Privacy Policy
|
||
|
</mockConstructor>
|
||
|
.
|
||
|
</p>,
|
||
|
],
|
||
|
"heading": "JavaScript Required",
|
||
|
"type": "error",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Array [
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": "You need JavaScript to use Regexper.",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "You need JavaScript to use Regexper.",
|
||
|
"type": "p",
|
||
|
},
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": Array [
|
||
|
"If you have concerns regarding the use of tracking code on Regexper, please see the ",
|
||
|
<mockConstructor
|
||
|
to="/privacy"
|
||
|
>
|
||
|
Privacy Policy
|
||
|
</mockConstructor>,
|
||
|
".",
|
||
|
],
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": Array [
|
||
|
"If you have concerns regarding the use of tracking code on Regexper, please see the ",
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "function",
|
||
|
"props": Object {
|
||
|
"children": "Privacy Policy",
|
||
|
"to": "/privacy",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "Privacy Policy",
|
||
|
"type": [MockFunction],
|
||
|
},
|
||
|
".",
|
||
|
],
|
||
|
"type": "p",
|
||
|
},
|
||
|
],
|
||
|
"type": [Function],
|
||
|
},
|
||
|
"type": "noscript",
|
||
|
},
|
||
|
Object {
|
||
|
"instance": null,
|
||
|
"key": undefined,
|
||
|
"nodeType": "host",
|
||
|
"props": Object {
|
||
|
"children": "Hello world",
|
||
|
},
|
||
|
"ref": null,
|
||
|
"rendered": "Hello world",
|
||
|
"type": "div",
|
||
|
},
|
||
|
],
|
||
|
"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,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
`;
|