lotus-1 / To-do-Project-SES

project TDD to build a To-do app for our team SES
0 stars 0 forks source link

newTodo test variable should not contain an id #23

Open MynahMarie opened 5 years ago

MynahMarie commented 5 years ago

In the test.js file, you have a variable that is supposed to represent a new todo. This new todo should not have an id because the addTodo function is supposed to give an id to the new todo.

https://github.com/lotus-1/To-do-Project-SES/blob/05f0afdbe10b87bb6a995a1a94d0b9c10e2ed1fd/test.js#L17-L21