mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-23 12:37:07 +00:00
ui: Initial Elm UI import
Merged from https://github.com/jhillyerd/inbucket-elm Uses https://github.com/halfzebra/create-elm-app
This commit is contained in:
22
ui/tests/Tests.elm
Normal file
22
ui/tests/Tests.elm
Normal file
@@ -0,0 +1,22 @@
|
||||
module Tests exposing (..)
|
||||
|
||||
import Test exposing (..)
|
||||
import Expect
|
||||
|
||||
|
||||
-- Check out http://package.elm-lang.org/packages/elm-community/elm-test/latest to learn more about testing in Elm!
|
||||
|
||||
|
||||
all : Test
|
||||
all =
|
||||
describe "A Test Suite"
|
||||
[ test "Addition" <|
|
||||
\_ ->
|
||||
Expect.equal 10 (3 + 7)
|
||||
, test "String.left" <|
|
||||
\_ ->
|
||||
Expect.equal "a" (String.left 1 "abcdefg")
|
||||
, test "This test should fail" <|
|
||||
\_ ->
|
||||
Expect.fail "failed as expected!"
|
||||
]
|
||||
Reference in New Issue
Block a user