You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Hope that makes some sense??
The text was updated successfully, but these errors were encountered:
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??
The text was updated successfully, but these errors were encountered: