Skip to content

Commit

Permalink
adds screenshot of failng test #51 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Aug 6, 2018
1 parent 91efbbd commit e7d6784
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions todo-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ Let's return to the sample `model` from above:
todos: [
{ id: 1, title: "Learn Elm Architecture", done: true },
{ id: 2, title: "Build Todo List App", done: false },
{ id: 3, title: "Win the Internet!", done, false }
{ id: 3, title: "Win the Internet!", done: false }
],
hash: '#/' // the "route" to display
}
Expand Down Expand Up @@ -795,7 +795,7 @@ test('render "main" view using (elmish) HTML DOM functions', function (t) {
todos: [
{ id: 1, title: "Learn Elm Architecture", done: true },
{ id: 2, title: "Build Todo List App", done: false },
{ id: 3, title: "Win the Internet!", done, false }
{ id: 3, title: "Win the Internet!", done: false }
],
hash: '#/' // the "route" to display
};
Expand All @@ -814,6 +814,14 @@ test('render "main" view using (elmish) HTML DOM functions', function (t) {
});
```

If you attempt to run this test:
```sh
node test/todo-app.test.js
```

you will see something like this:
![main-test-failing](https://user-images.githubusercontent.com/194400/43741630-f03f1fe8-99c6-11e8-8b7b-e44ee397b38e.png)



<!--
Expand Down

0 comments on commit e7d6784

Please sign in to comment.