| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Convex.MockChain.Utils
Synopsis
- mockchainSucceeds ∷ MockchainIO a → Assertion
- mockchainSucceedsWith ∷ NodeParams → MockchainIO a → Assertion
- mockchainFails ∷ MockchainIO a → (MockchainError → Assertion) → Assertion
- mockchainFailsWith ∷ NodeParams → MockchainIO a → (MockchainError → Assertion) → Assertion
Documentation
mockchainSucceeds ∷ MockchainIO a → Assertion Source #
Run the Mockchain action and fail if there is an error
mockchainSucceedsWith ∷ NodeParams → MockchainIO a → Assertion Source #
Run the Mockchain action with the given node parameters and fail if there is an error
mockchainFails ∷ MockchainIO a → (MockchainError → Assertion) → Assertion Source #
Run the Mockchain action, fail if it succeeds, and handle the error
appropriately.
mockchainFailsWith ∷ NodeParams → MockchainIO a → (MockchainError → Assertion) → Assertion Source #
Run the Mockchain action with the given node parameters, fail if it
succeeds, and handle the error appropriately.