Skip to content

Commit e7d6784

Browse files
committed
adds screenshot of failng test #51 (comment)
1 parent 91efbbd commit e7d6784

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Diff for: todo-list.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ Let's return to the sample `model` from above:
695695
todos: [
696696
{ id: 1, title: "Learn Elm Architecture", done: true },
697697
{ id: 2, title: "Build Todo List App", done: false },
698-
{ id: 3, title: "Win the Internet!", done, false }
698+
{ id: 3, title: "Win the Internet!", done: false }
699699
],
700700
hash: '#/' // the "route" to display
701701
}
@@ -795,7 +795,7 @@ test('render "main" view using (elmish) HTML DOM functions', function (t) {
795795
todos: [
796796
{ id: 1, title: "Learn Elm Architecture", done: true },
797797
{ id: 2, title: "Build Todo List App", done: false },
798-
{ id: 3, title: "Win the Internet!", done, false }
798+
{ id: 3, title: "Win the Internet!", done: false }
799799
],
800800
hash: '#/' // the "route" to display
801801
};
@@ -814,6 +814,14 @@ test('render "main" view using (elmish) HTML DOM functions', function (t) {
814814
});
815815
```
816816

817+
If you attempt to run this test:
818+
```sh
819+
node test/todo-app.test.js
820+
```
821+
822+
you will see something like this:
823+
![main-test-failing](https://user-images.githubusercontent.com/194400/43741630-f03f1fe8-99c6-11e8-8b7b-e44ee397b38e.png)
824+
817825

818826

819827
<!--

0 commit comments

Comments
 (0)