Module
Elmish.Test.Query
- Package
- purescript-elmish-testing-library
- Repository
- collegevine/purescript-elmish-testing-library
#nearestEnclosingReactComponentName Source
nearestEnclosingReactComponentName :: forall m. Testable m => m String
#prop Source
prop :: forall m a. Testable m => DomPropType a => DomProp a -> m a
Returns the given property of the current-context element.
import Elmish.Test.DomProps as P
find "input" >> prop P.value >>= shouldEqual "hello"