Home Reference Source

Typedef

Static Public Summary
public

Fixtures for actions where the key is the description and the value is the action.

public

Fixtures for a component where the key is the description and the value is the component props.

public

Fixtures for a component where the key is the description and the value is the component props.

public

Fixture for a reducer.

public

Fixtures for a reducer where the key is the description and the value is a ReducerFixture

Static Public

public ActionsFixtures: Object source

Fixtures for actions where the key is the description and the value is the action.

Properties:

NameTypeAttributeDescription
* Object

Action to run.

public ComponentFixtures: Object source

Fixtures for a component where the key is the description and the value is the component props.

Properties:

NameTypeAttributeDescription
* Object

props object.

public ComponentFixturesResults: Object source

Fixtures for a component where the key is the description and the value is the component props.

Properties:

NameTypeAttributeDescription
description string

Fixture description.

component EnzymeComponent

enzyme shallow rendered component.

public ReducerFixture: Object source

Fixture for a reducer.

Properties:

NameTypeAttributeDescription
state Object

Current state.

action Object

Action object with type and payload.

public ReducerFixtures: Object source

Fixtures for a reducer where the key is the description and the value is a ReducerFixture

Properties:

NameTypeAttributeDescription
* ReducerFixture

props object.