mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-29 04:35:32 +08:00
test: update snapshots for styled-jsx
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Tag should work with invert 1`] = `
|
||||
initialize {
|
||||
LoadedCheerio {
|
||||
"0": Node {
|
||||
"attribs": Object {
|
||||
"class": "",
|
||||
@@ -114,7 +114,83 @@ initialize {
|
||||
"class": undefined,
|
||||
},
|
||||
},
|
||||
"_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,
|
||||
@@ -124,7 +200,7 @@ initialize {
|
||||
`;
|
||||
|
||||
exports[`Tag should work with types 1`] = `
|
||||
initialize {
|
||||
LoadedCheerio {
|
||||
"0": Node {
|
||||
"attribs": Object {},
|
||||
"children": Array [
|
||||
@@ -1783,7 +1859,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,
|
||||
|
||||
Reference in New Issue
Block a user