elm-explorations / elm-explorations/test
Html test fails (possibly due to lazy containing keyed node containing lazy?)
- Dominant language
- Elm
- Stars
- 244
- Forks
- 40
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
Description
Any Html test I run fails with the message below
```
▼ Query.fromHtml
Internal Error: failed to decode the virtual dom.
Please report this at .
Problem with the value at json.e[2].e[0].e[0].k.e[0].e[0].k:
undefined
Expecting an OBJECT with a field named `$`
▼ Internal Error: failed to decode the virtual dom.
Please report this at
▼ Problem with the value at json.e[2].e[0].e[0].k.e[0].e[0].k:
undefined
Expecting an OBJECT with a field named `$`
```
The test is:
```
describeHeaders =
[ describe "headers"
[ test "should contain a container with three child divs" <|
\() ->
view model
|> Query.fromHtml
|> Query.findAll [ class "header" ]
|> Query.index 0
|> Query.has [ text "Score" ]
]
]
```
but I've got the same error whatever the test is.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.