issues
search
Elisha-Tetteyfio
/
To-do-list1
2
stars
0
forks
source link
Testing2
#7
Closed
gasangw
closed
2 years ago
gasangw
commented
2 years ago
Use jest framework for testing.
Create a test file(s) ([..].test.js) for a file(s) containing the following functions:
a function for editing the task description.
a function for updating an item's 'completed' status.
the "Clear all completed" function.
Use the mock storage object you have created in Part 1 of this project to mock the localStorage updates.
Mock the HTML elements to test DOM manipulation functions.
Make sure you group your tests using the describe() method.