sydtest-servant-0.0.0.0: A servant companion library for sydtest
Safe HaskellNone
LanguageHaskell2010

Test.Syd.Servant

Synopsis

Documentation

servantSpec :: forall api. HasServer api '[] => Proxy api -> ServerT api Handler -> ServantSpec -> Spec Source #

Run a given servant server around every test

servantSpecWithSetupFunc :: forall api a. HasServer api '[] => Proxy api -> SetupFunc a (ServerT api Handler) -> ServantSpec -> SpecWith a Source #

Run a servant server around every test, based around the given SetupFunc