mirror of
https://github.com/correl/elm.git
synced 2024-12-22 19:17:27 +00:00
Add a bit of documentation for the test skips
This commit is contained in:
parent
1ebbaae152
commit
8b5ef02a1e
2 changed files with 7 additions and 0 deletions
|
@ -17,3 +17,6 @@ Execute the tests with:
|
||||||
```bash
|
```bash
|
||||||
$ npm test
|
$ npm test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
As you work your way through the test suite, be sure to remove the `skip <|`
|
||||||
|
calls from each test until you get them all passing!
|
||||||
|
|
|
@ -11,6 +11,10 @@ tests =
|
||||||
[ test "Hello with no name" <|
|
[ test "Hello with no name" <|
|
||||||
\() ->
|
\() ->
|
||||||
Expect.equal "Hello, World!" (helloWorld Nothing)
|
Expect.equal "Hello, World!" (helloWorld Nothing)
|
||||||
|
|
||||||
|
-- Once you get the first test passing, remove the
|
||||||
|
-- `skip <|` (just leave the comma) on the next two
|
||||||
|
-- lines to continue!
|
||||||
, skip <|
|
, skip <|
|
||||||
test "Hello to a sample name" <|
|
test "Hello to a sample name" <|
|
||||||
\() ->
|
\() ->
|
||||||
|
|
Loading…
Reference in a new issue