Copyright | © 2018-2020 IOHK |
---|---|
License | Apache-2.0 |
Safe Haskell | None |
Language | Haskell2010 |
Test.Utils.StaticServer
Description
Provides a simple static files web server to be used as a fixture in tests which need a HTTP server.
Synopsis
- withStaticServer :: FilePath -> (String -> IO a) -> IO a