hasql-pool-1.5.1.0 / 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)) (parallel hookedSpec) )