@@ -695,7 +695,7 @@ Let's return to the sample `model` from above:
695
695
todos: [
696
696
{ id: 1 , title: " Learn Elm Architecture" , done: true },
697
697
{ 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 }
699
699
],
700
700
hash: ' #/' // the "route" to display
701
701
}
@@ -795,7 +795,7 @@ test('render "main" view using (elmish) HTML DOM functions', function (t) {
795
795
todos: [
796
796
{ id: 1 , title: " Learn Elm Architecture" , done: true },
797
797
{ 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 }
799
799
],
800
800
hash: ' #/' // the "route" to display
801
801
};
@@ -814,6 +814,14 @@ test('render "main" view using (elmish) HTML DOM functions', function (t) {
814
814
});
815
815
```
816
816
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
+
817
825
818
826
819
827
<!--
0 commit comments