deadfoxygrandpa / elm-test

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

Asserting Html fails #36

Open TheoAndersen opened 8 years ago

TheoAndersen commented 8 years ago

Hi

I'm trying to assert on the view part, but I'm getting a runtime javascript error when asserting Html (in both reactor and through node)

TypeError: v is not an Object. (evaluating ''ctor' in v')
inittesthtml.elm:422
fullscreentesthtml.elm:292
(anonym funktion)testhtml.elm:12087

https://gist.github.com/TheoAndersen/1a67e8dd522eba95ed9e

Don't know much about the elm runtime engine, so I'm not sure whats going on.

Elm 0.16.0

dependencies": {
        "deadfoxygrandpa/elm-test": "3.0.1 <= v < 4.0.0",
        "elm-lang/core": "3.0.0 <= v < 4.0.0",
        "evancz/elm-html": "4.0.2 <= v < 5.0.0",
        "laszlopandy/elm-console": "1.0.3 <= v < 2.0.0"
    }