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
As I said in #24 you specify what function your testing in the tape function.
In equal/deepEqual functions you specify what this test is testing in your function, so when it fails you will know what you were testing and don't have to look at the test and understand what you were testing.
@sultanassi95 In the test message you are saying test1: actual should be equal to expected
I don't know what is test1.
every test the actual should equal the expected. this message should be a description to the test.
e.g. for this test you could write: newTodo must be added to the array
so when it fails you will know what exactly is failing without the need to read the test file.
As I said in #24 you specify what function your testing in the tape function.
In equal/deepEqual functions you specify what this test is testing in your function, so when it fails you will know what you were testing and don't have to look at the test and understand what you were testing.
SSST-T0DoList/test.js
Line 5 in ff2031e
The text was updated successfully, but these errors were encountered: