File: __tests__/__snapshots__/Rectangle.test.js.snap

Recommend this page to a friend!
  Classes of Manolo Salsas   React JS SVG Library   __tests__/__snapshots__/Rectangle.test.js.snap   Download  
File: __tests__/__snapshots__/Rectangle.test.js.snap
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: React JS SVG Library
Generate animated graphics in SVG using React JS
Author: By
Last change: Add tests with Jest
Date: 2 years ago
Size: 3,932 bytes
 

Contents

Class file image Download
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Test Rectangle component should render correctly 1`] = ` ShallowWrapper { Symbol(enzyme.__root__): [Circular], Symbol(enzyme.__unrendered__): <Rectangle fillColor="none" height={200} strokeColor="orange" strokeWidth={5} width={100} />, 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": "host", "props": Object { "children": <g> <rect className="msalsas-rectangle" fill="none" height={200} stroke="orange" strokeWidth={5} width={100} x={5} y={5} /> </g>, "height": 210, "width": 110, "xmlns": "http://www.w3.org/2000/svg", }, "ref": null, "rendered": Object { "instance": null, "key": undefined, "nodeType": "host", "props": Object { "children": <rect className="msalsas-rectangle" fill="none" height={200} stroke="orange" strokeWidth={5} width={100} x={5} y={5} />, }, "ref": null, "rendered": Object { "instance": null, "key": undefined, "nodeType": "host", "props": Object { "className": "msalsas-rectangle", "fill": "none", "height": 200, "stroke": "orange", "strokeWidth": 5, "width": 100, "x": 5, "y": 5, }, "ref": null, "rendered": null, "type": "rect", }, "type": "g", }, "type": "svg", }, Symbol(enzyme.__nodes__): Array [ Object { "instance": null, "key": undefined, "nodeType": "host", "props": Object { "children": <g> <rect className="msalsas-rectangle" fill="none" height={200} stroke="orange" strokeWidth={5} width={100} x={5} y={5} /> </g>, "height": 210, "width": 110, "xmlns": "http://www.w3.org/2000/svg", }, "ref": null, "rendered": Object { "instance": null, "key": undefined, "nodeType": "host", "props": Object { "children": <rect className="msalsas-rectangle" fill="none" height={200} stroke="orange" strokeWidth={5} width={100} x={5} y={5} />, }, "ref": null, "rendered": Object { "instance": null, "key": undefined, "nodeType": "host", "props": Object { "className": "msalsas-rectangle", "fill": "none", "height": 200, "stroke": "orange", "strokeWidth": 5, "width": 100, "x": 5, "y": 5, }, "ref": null, "rendered": null, "type": "rect", }, "type": "g", }, "type": "svg", }, ], Symbol(enzyme.__options__): Object { "adapter": ReactSixteenAdapter { "options": Object { "enableComponentDidUpdateOnSetState": true, "lifecycles": Object { "componentDidUpdate": Object { "onSetState": true, }, "getDerivedStateFromProps": true, "getSnapshotBeforeUpdate": true, "setState": Object { "skipsComponentDidUpdateOnNullish": true, }, }, }, }, "attachTo": undefined, "hydrateIn": undefined, }, } `;