test: update snapshots for styled-jsx

This commit is contained in:
unix
2021-08-13 17:26:35 +08:00
parent 85c27f01f2
commit 8367dce981
23 changed files with 2733 additions and 73 deletions

View File

@@ -3,7 +3,7 @@
exports[`Dot should render correctly 1`] = `ReactWrapper {}`;
exports[`Dot should supports types 1`] = `
initialize {
LoadedCheerio {
"0": Node {
"attribs": Object {},
"children": Array [
@@ -4254,7 +4254,83 @@ initialize {
"x-attribsNamespace": Object {},
"x-attribsPrefix": Object {},
},
"_root": [Circular],
"_root": LoadedCheerio {
"0": Node {
"children": Array [
Node {
"attribs": Object {},
"children": Array [
Node {
"attribs": Object {},
"children": Array [],
"name": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"next": Node {
"attribs": Object {},
"children": Array [],
"name": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"next": null,
"parent": [Circular],
"prev": [Circular],
"type": "tag",
"x-attribsNamespace": Object {},
"x-attribsPrefix": Object {},
},
"parent": [Circular],
"prev": null,
"type": "tag",
"x-attribsNamespace": Object {},
"x-attribsPrefix": Object {},
},
Node {
"attribs": Object {},
"children": Array [],
"name": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"next": null,
"parent": [Circular],
"prev": Node {
"attribs": Object {},
"children": Array [],
"name": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"next": [Circular],
"parent": [Circular],
"prev": null,
"type": "tag",
"x-attribsNamespace": Object {},
"x-attribsPrefix": Object {},
},
"type": "tag",
"x-attribsNamespace": Object {},
"x-attribsPrefix": Object {},
},
],
"name": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"next": null,
"parent": [Circular],
"prev": null,
"type": "tag",
"x-attribsNamespace": Object {},
"x-attribsPrefix": Object {},
},
],
"name": "root",
"next": null,
"parent": null,
"prev": null,
"type": "root",
"x-mode": "quirks",
},
"_root": [Circular],
"length": 1,
"options": Object {
"decodeEntities": true,
"xml": false,
},
},
"length": 1,
"options": Object {
"decodeEntities": true,