mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-30 20:45:47 +03:00
13 lines
417 B
Haskell
13 lines
417 B
Haskell
module TerminalTest where
|
|
|
|
import Test.Tasty.Hspec
|
|
import Wasp.Cli.Terminal
|
|
( asWaspMessage,
|
|
)
|
|
|
|
-- TODO: Showing it can be done. Remove me when writing first real CLI test.
|
|
spec_terminalMessages :: Spec
|
|
spec_terminalMessages = do
|
|
it "can format messages of various kinds" $ do
|
|
asWaspMessage "Hello, world!" `shouldBe` "\n --- Hello, world! ---------------------------------------------------------------\n"
|