convex-mockchain-0.2.0.0: Minimal mockchain for testing plutus scripts
Safe HaskellSafe-Inferred
LanguageHaskell2010

Convex.MockChain.Utils

Synopsis

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.