Create a test file ([..].test.js) for a file containing the add item and delete item functions to be tested.
Mock a storage object to "imitate" localStorage operations (only if you are using jest < 24.x, in newer versions localStorage is mocked automatically).
Mock HTML to test if add/delete functions add or remove exactly one
Testing To Do list: part 1
Hi good reviewer,
These are the changes proposed for the To Do list project:
For more detail refer to the README.md file.
Project requirements