Module

Enzyme.Shallow

Package
purescript-react-enzyme
Repository
alvart/purescript-react-enzyme

#ShallowWrapper Source

#reshallow Source

reshallow :: ShallowWrapper -> Effect ShallowWrapper

Shallow renders the root node and returns a shallow wrapper around it. It must be a single-node wrapper.

#shallow Source

shallow :: ReactElement -> Effect ShallowWrapper

Creates a ShallowWrapper from a React element.