packages feed

hasql-transaction-1.2.3.3 / src / integration-tests / Specs / SpecHook.hs

-- Docs: https://hspec.github.io/hspec-discover.htmlmodule Specs.SpecHook whereimport Helpers.Adapters qualified as Adaptersimport Helpers.Hooks qualified as Hooksimport Helpers.Scripts qualified as Scriptsimport Test.Hspechook :: SpecWith Scripts.ScopeParams -> Spechook hookedSpec =  Adapters.hook    ( aroundAllWith        (\action adapter -> Hooks.postgres17 \(host, port) -> action (adapter, host, port))        hookedSpec    )