Skip to content

Commit

Permalink
test: update snapshots for styled-jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
unix committed Aug 13, 2021
1 parent 85c27f0 commit 8367dce
Show file tree
Hide file tree
Showing 23 changed files with 2,733 additions and 73 deletions.
160 changes: 156 additions & 4 deletions components/auto-complete/__tests__/__snapshots__/search.test.tsx.snap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`AutoComplete Search should hide empty component 1`] = `
initialize {
LoadedCheerio {
"0": Node {
"attribs": Object {
"class": "auto-complete",
Expand Down Expand Up @@ -888,7 +888,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,
Expand All @@ -898,7 +974,7 @@ initialize {
`;

exports[`AutoComplete Search should hide empty component 2`] = `
initialize {
LoadedCheerio {
"0": Node {
"attribs": Object {
"class": "auto-complete",
Expand Down Expand Up @@ -1785,7 +1861,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,
Expand Down
Loading

0 comments on commit 8367dce

Please sign in to comment.