In this project we will be using webpack to create, edit, and delete tasks from a list of tasks created by the user, the main goals of this project are: Use webpack to bundle JavaScript. Learn how to use proper ES6 syntax. Use ES6 modules to write modular JavaScript.
2
stars
0
forks
source link
PR-5-Add test for edit, update completed, clear completed. #10
Description
In this part of the testing project, you will test functions responsible for the status and content updates. You will also test the order re-position of items in the list upon drag/drop actions.
Project requirements
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.
Optional requirements
Check the test coverage. You should aim for covering 100% of your code.
Description In this part of the testing project, you will test functions responsible for the status and content updates. You will also test the order re-position of items in the list upon drag/drop actions.
Project requirements 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. Optional requirements Check the test coverage. You should aim for covering 100% of your code.
@ivanmvh @M1rn