elm/docs/TESTS.md

17 lines
390 B
Markdown
Raw Normal View History

2015-11-25 16:24:04 +00:00
First, execute the following:
```bash
$ elm-reactor
```
Then go to `localhost:8000` in your browser and navigate to your test file.
## Making Your First Elm Module
To create a module that can be loaded with `import BobExample exposing (responseFor)`, put this code in `BobExample.elm`:
```elm
module BobExample where
responseFor : String -> String
responseFor statement = undefined
```