# Snapshot report for `tests/basic.test.tsx`

The actual snapshot is saved in `basic.test.tsx.snap`.

Generated by [AVA](https://avajs.dev).

## render higher order component, <resistor /> and <custom />

> Snapshot 1

    [
      {
        ftype: 'simple_resistor',
        name: null,
        source_component_id: 'simple_resistor_0',
        type: 'source_component',
      },
      {
        center: {
          x: 0,
          y: 0,
        },
        rotation: 0,
        schematic_component_id: 'schematic_component_simple_resistor_0',
        size: {
          height: 0.3,
          width: 1,
        },
        source_component_id: 'simple_resistor_0',
        type: 'schematic_component',
      },
      {
        name: 'left',
        source_component_id: 'simple_resistor_0',
        source_port_id: 'source_port_0',
        type: 'source_port',
      },
      {
        center: {
          x: -0.5,
          y: 0,
        },
        facing_direction: 'left',
        schematic_port_id: 'schematic_port_0',
        source_port_id: 'source_port_0',
        type: 'schematic_port',
      },
      {
        name: 'right',
        source_component_id: 'simple_resistor_0',
        source_port_id: 'source_port_1',
        type: 'source_port',
      },
      {
        center: {
          x: 0.5,
          y: 0,
        },
        facing_direction: 'right',
        schematic_port_id: 'schematic_port_1',
        source_port_id: 'source_port_1',
        type: 'schematic_port',
      },
      {
        anchor: 'left',
        position: {
          x: -0.2,
          y: -0.5,
        },
        schematic_component_id: 'schematic_component_simple_resistor_0',
        schematic_text_id: 'schematic_text_0',
        text: null,
        type: 'schematic_text',
      },
      {
        anchor: 'left',
        position: {
          x: -0.2,
          y: -0.3,
        },
        schematic_component_id: 'schematic_component_simple_resistor_0',
        schematic_text_id: 'schematic_text_1',
        text: undefined,
        type: 'schematic_text',
      },
      {
        pcb_component_id: 'pcb_component_simple_resistor_0',
        source_component_id: 'simple_resistor_0',
        type: 'pcb_component',
      },
      {
        ftype: 'simple_capacitor',
        name: 'custom cap',
        source_component_id: 'simple_capacitor_0',
        type: 'source_component',
      },
      {
        center: {
          x: 0,
          y: 0,
        },
        rotation: 0,
        schematic_component_id: 'schematic_component_simple_capacitor_0',
        size: {
          height: 0.75,
          width: 0.75,
        },
        source_component_id: 'simple_capacitor_0',
        type: 'schematic_component',
      },
      {
        name: 'left',
        source_component_id: 'simple_capacitor_0',
        source_port_id: 'source_port_2',
        type: 'source_port',
      },
      {
        center: {
          x: -0.5,
          y: 0,
        },
        facing_direction: 'left',
        schematic_port_id: 'schematic_port_2',
        source_port_id: 'source_port_2',
        type: 'schematic_port',
      },
      {
        name: 'right',
        source_component_id: 'simple_capacitor_0',
        source_port_id: 'source_port_3',
        type: 'source_port',
      },
      {
        center: {
          x: 0.5,
          y: 0,
        },
        facing_direction: 'right',
        schematic_port_id: 'schematic_port_3',
        source_port_id: 'source_port_3',
        type: 'schematic_port',
      },
      {
        anchor: 'left',
        position: {
          x: -0.5,
          y: -0.3,
        },
        schematic_component_id: 'schematic_component_simple_capacitor_0',
        schematic_text_id: 'schematic_text_2',
        text: 'custom cap',
        type: 'schematic_text',
      },
      {
        anchor: 'left',
        position: {
          x: -0.3,
          y: -0.3,
        },
        schematic_component_id: 'schematic_component_simple_capacitor_0',
        schematic_text_id: 'schematic_text_3',
        text: undefined,
        type: 'schematic_text',
      },
      {
        pcb_component_id: 'pcb_component_simple_capacitor_0',
        source_component_id: 'simple_capacitor_0',
        type: 'pcb_component',
      },
    ]
