diff --git a/common/common.cabal b/common/common.cabal index b3f93c0..98e5704 100644 --- a/common/common.cabal +++ b/common/common.cabal @@ -31,3 +31,21 @@ library , OverloadedStrings , RecordWildCards default-language: Haskell2010 + +test-suite spec + type: exitcode-stdio-1.0 + main-is: Spec.hs + hs-source-dirs: src + build-depends: base >=4.10 + , classy-prelude + , dhall + , foreign-store + , generic-lens + , lens + , mtl + , text + , transformers + , validity + , genvalidity-hspec + , genvalidity-property + , hspec \ No newline at end of file diff --git a/common/src/Spec.hs b/common/src/Spec.hs new file mode 100644 index 0000000..7a76fca --- /dev/null +++ b/common/src/Spec.hs @@ -0,0 +1,9 @@ +module Main where + +import Test.Hspec + +spec :: Spec +spec = describe "test" $ it "verifies tests work" $ True == True + +main :: IO () +main = hspec spec