graphql-engine/server/tests-hspec/Test/HelloWorldSpec.hs
Sibi Prabakaran e43a5e4794 Rename State to TestEnvironment in hspec test suite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4309
GitOrigin-RevId: 899b1aa3674654f5c4bdf94dcd45009570b34644
2022-04-20 17:16:42 +00:00

20 lines
572 B
Haskell

-- | A starting point feature test.
module Test.HelloWorldSpec (spec) where
import Harness.Test.Context qualified as Context
import Harness.TestEnvironment (TestEnvironment)
import Test.Hspec (SpecWith, it, shouldBe)
--------------------------------------------------------------------------------
-- Preamble
spec :: SpecWith TestEnvironment
spec = Context.run [] tests
--------------------------------------------------------------------------------
-- Tests
tests :: Context.Options -> SpecWith TestEnvironment
tests _opts = it "No-op" \_ -> do
() `shouldBe` ()