Safe Haskell | None |
---|---|
Language | Haskell2010 |
Test helpers.
Synopsis
- shouldResolve :: MonadCatch m => (Text -> IO (Either (ResponseEventStream m Value) Object)) -> Text -> Expectation
- shouldResolveTo :: MonadCatch m => Either (ResponseEventStream m Value) Object -> Object -> Expectation
Documentation
shouldResolve :: MonadCatch m => (Text -> IO (Either (ResponseEventStream m Value) Object)) -> Text -> Expectation Source #
Asserts that the response doesn't contain any errors.
shouldResolveTo :: MonadCatch m => Either (ResponseEventStream m Value) Object -> Object -> Expectation Source #
Asserts that a query resolves to some value.