abdessalem1998 / -To-Do-list

In this project, I built a simple HTML JavaScript list of To-Do tasks based on the concept of SPA(single web application) and configure it using Webpack ,HTML5 and JAVASCRIPT in addition to unit testing for all functions.
5 stars 1 forks source link

Testing status and content updates #12

Closed BonkeGcobo closed 2 years ago

BonkeGcobo commented 2 years ago

Used jest framework for testing. Updated the test file(s) ([..].test. js) by adding the following tests: testing function for editing the task description. testing function for updating an item's 'completed' status. testing the "Clear all completed" function.

Used the mock storage object we created in Part 1 of this project to mock the localStorage updates.