regexper-static/src/pages/__snapshots__/index.test.js.snap

372 lines
11 KiB
Plaintext
Raw Normal View History

2019-01-04 23:38:49 +00:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Index Page rendering 1`] = `
ShallowWrapper {
Symbol(enzyme.__root__): [Circular],
Symbol(enzyme.__unrendered__): <IndexPage />,
2019-01-04 23:38:49 +00:00
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 [
<Metadata />,
2019-01-04 23:38:49 +00:00
<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>
2019-01-06 18:03:07 +00:00
<WithMergedOptions(TransComponent)>
Hello world
</WithMergedOptions(TransComponent)>
2019-01-04 23:38:49 +00:00
</div>,
],
},
"ref": null,
"rendered": Array [
Object {
"instance": null,
"key": undefined,
"nodeType": "function",
"props": Object {},
"ref": null,
"rendered": null,
"type": [Function],
},
2019-01-04 23:38:49 +00:00
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 {
2019-01-06 18:03:07 +00:00
"children": <WithMergedOptions(TransComponent)>
Hello world
</WithMergedOptions(TransComponent)>,
2019-01-04 23:38:49 +00:00
},
"ref": null,
2019-01-06 18:03:07 +00:00
"rendered": Object {
"instance": null,
"key": undefined,
"nodeType": "class",
"props": Object {
"children": "Hello world",
},
"ref": null,
"rendered": "Hello world",
"type": [Function],
},
2019-01-04 23:38:49 +00:00
"type": "div",
},
],
"type": Symbol(react.fragment),
2019-01-04 23:38:49 +00:00
},
Symbol(enzyme.__nodes__): Array [
Object {
"instance": null,
"key": undefined,
"nodeType": "function",
"props": Object {
"children": Array [
<Metadata />,
2019-01-04 23:38:49 +00:00
<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>
2019-01-06 18:03:07 +00:00
<WithMergedOptions(TransComponent)>
Hello world
</WithMergedOptions(TransComponent)>
2019-01-04 23:38:49 +00:00
</div>,
],
},
"ref": null,
"rendered": Array [
Object {
"instance": null,
"key": undefined,
"nodeType": "function",
"props": Object {},
"ref": null,
"rendered": null,
"type": [Function],
},
2019-01-04 23:38:49 +00:00
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 {
2019-01-06 18:03:07 +00:00
"children": <WithMergedOptions(TransComponent)>
Hello world
</WithMergedOptions(TransComponent)>,
2019-01-04 23:38:49 +00:00
},
"ref": null,
2019-01-06 18:03:07 +00:00
"rendered": Object {
"instance": null,
"key": undefined,
"nodeType": "class",
"props": Object {
"children": "Hello world",
},
"ref": null,
"rendered": "Hello world",
"type": [Function],
},
2019-01-04 23:38:49 +00:00
"type": "div",
},
],
"type": Symbol(react.fragment),
2019-01-04 23:38:49 +00:00
},
],
Symbol(enzyme.__options__): Object {
"adapter": ReactSixteenAdapter {
"options": Object {
"enableComponentDidUpdateOnSetState": true,
"lifecycles": Object {
"componentDidUpdate": Object {
"onSetState": true,
},
"getDerivedStateFromProps": true,
"getSnapshotBeforeUpdate": true,
"setState": Object {
"skipsComponentDidUpdateOnNullish": true,
},
},
},
},
},
}
`;