Icontem

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

Recommend this page to a friend!
  Classes of Manolo Salsas  >  React JS SVG Library  >  __tests__/__snapshots__/Line.test.js.snap  >  Download  
File: __tests__/__snapshots__/Line.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:
Date: 9 months ago
Size: 4,043 bytes
 

Contents

Class file image Download
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Test Line component should render correctly 1`] = `
ShallowWrapper {
  Symbol(enzyme.__root__): [Circular],
  Symbol(enzyme.__unrendered__): <Line
    degrees={120}
    lineLength={50}
    strokeColor="yellow"
    strokeLinecap="round"
    strokeWidth={10}
  />,
  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>
        <path
          className="msalsas-line"
          d="M 10 35.00000000000001 L 53.30127018922193 10"
          fill="none"
          stroke="yellow"
          strokeLinecap="round"
          strokeWidth={10}
        />
      </g>,
      "height": 45.00000000000001,
      "width": 63.30127018922193,
      "xmlns": "http://www.w3.org/2000/svg",
    },
    "ref": null,
    "rendered": Object {
      "instance": null,
      "key": undefined,
      "nodeType": "host",
      "props": Object {
        "children": <path
          className="msalsas-line"
          d="M 10 35.00000000000001 L 53.30127018922193 10"
          fill="none"
          stroke="yellow"
          strokeLinecap="round"
          strokeWidth={10}
        />,
      },
      "ref": null,
      "rendered": Object {
        "instance": null,
        "key": undefined,
        "nodeType": "host",
        "props": Object {
          "className": "msalsas-line",
          "d": "M 10 35.00000000000001 L 53.30127018922193 10",
          "fill": "none",
          "stroke": "yellow",
          "strokeLinecap": "round",
          "strokeWidth": 10,
        },
        "ref": null,
        "rendered": null,
        "type": "path",
      },
      "type": "g",
    },
    "type": "svg",
  },
  Symbol(enzyme.__nodes__): Array [
    Object {
      "instance": null,
      "key": undefined,
      "nodeType": "host",
      "props": Object {
        "children": <g>
          <path
            className="msalsas-line"
            d="M 10 35.00000000000001 L 53.30127018922193 10"
            fill="none"
            stroke="yellow"
            strokeLinecap="round"
            strokeWidth={10}
          />
        </g>,
        "height": 45.00000000000001,
        "width": 63.30127018922193,
        "xmlns": "http://www.w3.org/2000/svg",
      },
      "ref": null,
      "rendered": Object {
        "instance": null,
        "key": undefined,
        "nodeType": "host",
        "props": Object {
          "children": <path
            className="msalsas-line"
            d="M 10 35.00000000000001 L 53.30127018922193 10"
            fill="none"
            stroke="yellow"
            strokeLinecap="round"
            strokeWidth={10}
          />,
        },
        "ref": null,
        "rendered": Object {
          "instance": null,
          "key": undefined,
          "nodeType": "host",
          "props": Object {
            "className": "msalsas-line",
            "d": "M 10 35.00000000000001 L 53.30127018922193 10",
            "fill": "none",
            "stroke": "yellow",
            "strokeLinecap": "round",
            "strokeWidth": 10,
          },
          "ref": null,
          "rendered": null,
          "type": "path",
        },
        "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,
  },
}
`;