Module

Enzyme.ShallowWrapper

Package
purescript-enzyme
Repository
coot/purescript-enzyme

#ShallowWrapper Source

#rerender Source

rerender :: forall props. ShallowWrapper -> props -> ShallowWrapper

#rerenderWithContext Source

rerenderWithContext :: forall context props. ShallowWrapper -> props -> context -> ShallowWrapper

#setProps Source

setProps :: forall props. ShallowWrapper -> props -> ShallowWrapper

#setState Source

setState :: forall state. ShallowWrapper -> state -> ShallowWrapper

#setContext Source

setContext :: forall ctx. ShallowWrapper -> ctx -> ShallowWrapper

#findReactClass Source

#map Source

map :: forall a. ShallowWrapper -> (ReactElement -> a) -> Array a

#reduce Source

reduce :: forall a. ShallowWrapper -> (a -> ShallowWrapper -> a) -> a -> a

#reduceRight Source

reduceRight :: forall a. ShallowWrapper -> (a -> ShallowWrapper -> a) -> a -> a