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

@@ -5,7 +5,7 @@ exports[`Divider should render correctly 1`] = `ReactWrapper {}`;
exports[`Divider should support float 1`] = `ReactWrapper {}`;
exports[`Divider should work with align and volume 1`] = `
initialize {
LoadedCheerio {
"0": Node {
"attribs": Object {},
"children": Array [
@@ -3100,7 +3100,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,
@@ -3110,7 +3186,7 @@ initialize {
`;
exports[`Divider should work with type 1`] = `
initialize {
LoadedCheerio {
"0": Node {
"attribs": Object {},
"children": Array [
@@ -3865,7 +3941,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,
@@ -3875,7 +4027,7 @@ initialize {
`;
exports[`Divider should work with w and h 1`] = `
initialize {
LoadedCheerio {
"0": Node {
"attribs": Object {},
"children": Array [
@@ -4236,7 +4388,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,