Your tests would be cooler if you were very explicit about what you're testing.
E.g. for your marktodo tests... (218)
You could group all of these tests into one block
Get rid of the comments! (especially the // up to here //s - that really is quite confusing)
Use the description at the start of the test block to write something very clear like "marktodo takes an array of all todos and the id of the todo we want to change, and it returns an updated list with the selected todo marked as done or undone"
Then use the 3rd argument to t.deepEqual(...) to describe what should happen in each individual test
Hi team : )
Your tests would be cooler if you were very explicit about what you're testing.
E.g. for your marktodo tests... (218)
// up to here //
s - that really is quite confusing)t.deepEqual(...)
to describe what should happen in each individual testHope that makes some sense??