hydra-node
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Events.SQLiteBasedSpec

Description

Tests for the EventSource and EventSink implementation in SQLite.

Documentation

spec :: Spec Source #

genContinuousEvents :: Gen [StateEvent SimpleTx] Source #

mkContinuousEvents :: [StateChanged tx] -> [UTCTime] -> [StateEvent tx] Source #

withEventSourceAndSink :: (EventSource (StateEvent SimpleTx) IO -> EventSink (StateEvent SimpleTx) IO -> IO b) -> IO b Source #