Redis.Mock
Description
Redis.Mock is useful for writing tests without Redis running
handler :: Expectation' Handler Source #
This functions returns a task that you can run in each test to retrieve a fresh mock handler
handlerIO :: IO Handler Source #
It's better to use handler and create a new mock handler for each test. Tests run in parallel which means that they all share the same hashmap.