Module
Enzyme.ShallowWrapper
- Package
- purescript-enzyme
- Repository
- coot/purescript-enzyme
#ShallowWrapper Source
data ShallowWrapper :: Type
#ref Source
ref :: ShallowWrapper -> String -> HTMLElement
#update Source
update :: ShallowWrapper -> Eff (enzyme :: ENZYME) ShallowWrapper
#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
#containsNode Source
containsNode :: ShallowWrapper -> ReactElement -> Boolean
#containsNodes Source
containsNodes :: ShallowWrapper -> Array ReactElement -> Boolean
#equals Source
equals :: ShallowWrapper -> ReactElement -> Boolean
#matchesElement Source
matchesElement :: ShallowWrapper -> ReactElement -> Boolean
#find Source
find :: ShallowWrapper -> String -> ShallowWrapper
#findReactClass Source
findReactClass :: forall props. ShallowWrapper -> ReactClass props -> ShallowWrapper
#filterWhere Source
filterWhere :: ShallowWrapper -> (ShallowWrapper -> Boolean) -> ShallowWrapper
#filter Source
filter :: ShallowWrapper -> String -> ShallowWrapper
#not Source
not :: ShallowWrapper -> String -> ShallowWrapper
#text Source
text :: ShallowWrapper -> String
#html Source
html :: ShallowWrapper -> String
#simulate Source
simulate :: ShallowWrapper -> String -> ShallowWrapper
#simulateWithArgs Source
simulateWithArgs :: ShallowWrapper -> String -> Array Foreign -> ShallowWrapper
#props Source
props :: ShallowWrapper -> Foreign
#childAt Source
childAt :: ShallowWrapper -> Int -> ShallowWrapper
#parents Source
parents :: ShallowWrapper -> String -> ShallowWrapper
#closest Source
closest :: ShallowWrapper -> String -> ShallowWrapper
#shallow Source
shallow :: ShallowWrapper -> Foreign -> ShallowWrapper
#key Source
key :: ShallowWrapper -> String
#type_ Source
type_ :: ShallowWrapper -> String
#name Source
name :: ShallowWrapper -> String
#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
#slice Source
slice :: ShallowWrapper -> Int -> Int -> ShallowWrapper
#someWhere Source
someWhere :: ShallowWrapper -> (ShallowWrapper -> Boolean) -> Boolean
#everyWhere Source
everyWhere :: ShallowWrapper -> (ShallowWrapper -> Boolean) -> Boolean
#findWhere Source
findWhere :: ShallowWrapper -> (ShallowWrapper -> Boolean) -> ShallowWrapper
#get Source
get :: ShallowWrapper -> Int -> ReactElement
#at Source
at :: ShallowWrapper -> Int -> ShallowWrapper
#last Source
last :: ShallowWrapper -> ShallowWrapper
#isEmpty Source
isEmpty :: ShallowWrapper -> Boolean
#exists Source
exists :: ShallowWrapper -> Boolean
#debug Source
debug :: ShallowWrapper -> String
#dive Source
dive :: ShallowWrapper -> Foreign -> ShallowWrapper