You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use hspec-discover with HSpec.Wai. The top-level spec items in my FooSpec.hs files are of type spec :: SpecWith (st, Application). I want to use my own Main module and driver, so I generate the test suite like this:
I'm trying to use hspec-discover with HSpec.Wai. The top-level
spec
items in myFooSpec.hs
files are of typespec :: SpecWith (st, Application)
. I want to use my ownMain
module and driver, so I generate the test suite like this:However, hspec-discover generates
spec :: Spec
in which it tries to run the(st, Application)
specs from the test modules.Is there a way to make hspec-discover generate a
spec :: SpecWith (st, Application)
? Or do I have to set up my tests differently?The text was updated successfully, but these errors were encountered: