Module

Test.PMockSpecs

Package
purescript-pmock
Repository
pujoheadsoft/purescript-pmock

#it Source

it :: forall m g. Monad m => MonadError Error g => String -> (Unit -> g Unit) -> SpecT g Unit m Unit

#mockIt Source

mockIt :: forall m g. Monad m => MonadError Error g => String -> (Unit -> g Unit) -> SpecT g Unit m Unit

#runRuntimeThrowableFunction Source

runRuntimeThrowableFunction :: forall r m. MonadThrow Error m => (Unit -> r) -> m Unit

#expectErrorWithMessage Source

expectErrorWithMessage :: forall m t. MonadError Error m => String -> m t -> m Unit