hwm-0.2.0: test/Commands/Init.hs
module Commands.Init (testInit) where
import Test.Hspec (Spec, describe, it)
import Utils.Golden (Golden (..), goldenTest)
testInit :: Spec
testInit = describe "init" $ do
it "inits a simple workspace" $
goldenTest
Golden
{ cmd = "init",
project = "simple",
scenario = "init/simple"
}
it "inits a huge monorepo" $
goldenTest
Golden
{ cmd = "init",
project = "morpheus",
scenario = "init/cabal"
}