deadfoxygrandpa / elm-test

A unit testing framework for Elm
MIT License
204 stars 21 forks source link

README Instructions Out of Date #8

Closed maxsnew closed 8 years ago

maxsnew commented 10 years ago

They still show automaton which is no longer a dependency along with elm-get.

It should all be updated once Elm 0.13 comes out I think.

deadfoxygrandpa commented 10 years ago

Yeah I agree. It's been a while and it's time to look at it again. I'll put it on my todo list,.

thejohnnybot commented 9 years ago

Hi, I been trying unsuccessfully to implement the readme examples and using the lastest version and run into this issue.

No argument was given for the port named 'responses' with type:

IO.Runner.Response


You need to provide an initial value!

Find out more about ports here http://elm-lang.org/learn/Ports.elm
/Users/johnny/Projects/Elm/access-admin/tmp/test.js:8163
                throw error;
                      ^
Error: Port Error:
No argument was given for the port named 'responses' with type:

IO.Runner.Response



You need to provide an initial value!```

Any help is appreciated.

Thanks 
joefiorini commented 9 years ago

@jmejias Solved this by using an older version of elm-io.sh that still uses jsdom and sends the default value to the port. Download the script I used from https://raw.githubusercontent.com/avh4/elm-spec/master/elm-io.sh and try again.

Good luck!

thejohnnybot commented 9 years ago

@joefiorini Thanks that did the trick

deadfoxygrandpa commented 8 years ago

The README is now up to date with the current version. Closing this older issue.