issues
search
devMunyi
/
todo-list
To-do list is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete.
7
stars
0
forks
source link
Testing todo list
#7
Closed
devMunyi
closed
2 years ago
devMunyi
commented
2 years ago
Used jest framework for testing.
Created a test file (add_delete.test.js) for a file containing the add item and delete item functions to test.
Mocked HTML to test if add/delete functions add or remove exactly one element to/from the descriptions placeholder in the DOM.
Grouped tests using the describe() method.