fac18 / week2-CEFG-To-do

Create a to-do app
https://fac18.github.io/week2-CEFG-To-do/
0 stars 1 forks source link

Unit testing #14

Open freemvmt opened 4 years ago

freemvmt commented 4 years ago

Hey team!

Great work on your project. All the logic seems to work really well, at least from playing around with the actual page.

However 2/9 of your tests are still failing! Specifically these ones, which relate to your addTodo function:

I could be wrong about this one but I think another test called 'test done property has been changed' doesn't actually test anything? It's just comparing two objects you have declared above, whereas I think the actual should be given by running the markTodo function on your toDoInput?

Presumably the markTodo function is working though, since you have nice effects when I tick the complete box on the actual page!