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
Congrats Dagic, for a job well done. However we saw a few issues that we would like you to check, hopefully it can help improve your code.
On line 13 of the action.test.js file, it would be more comprehensive if you could use (key === 'index' || key === 'completed' || key === 'description') instead of (key === 'index' || key !== 'completed' || key !== 'description').
Also on line 16 of the same file, it would be more understandable if you could use (todo.description.toString().length > 0) instead of (todo.description.length !== 0)
The text was updated successfully, but these errors were encountered:
Congrats Dagic, for a job well done. However we saw a few issues that we would like you to check, hopefully it can help improve your code.
On line 13 of the action.test.js file, it would be more comprehensive if you could use
(key === 'index' || key === 'completed' || key === 'description')
instead of(key === 'index' || key !== 'completed' || key !== 'description')
.Also on line 16 of the same file, it would be more understandable if you could use
(todo.description.toString().length > 0)
instead of(todo.description.length !== 0)
The text was updated successfully, but these errors were encountered: