To-do-list_m2_w2

Stars
3
Committers
2

Testing To Do list: part 2

Learning objectives

  • Write units tests for a JavaScript app.

Project requirements

  • 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.
    • a function for updating an item's index value upon drag/drop actions.
    • 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 description() method.
  • You need to use pair-programming for this project. We will check to see if both partners submitted code by looking at the commit history for each project. Therefore you need to select one of the repos in your pair-programming group in which you will implement the above features.

=======

Built With

  • HTML/CSS
  • Node.JS

=======

Getting Started

If you want a copy of this file go to the github repository and download it from there

Live

Live

Setup

git clone  https://github.com/Metsanpeitto/To-do-list_m2_w2.git
cd ./To-do-list_m2_w2

Install

npm install

Usage

npm test

If you are non a technical person you can download the zip file.

  • To do that you have to go to the green button that says 'Code' and then press on it.
  • Choose the option 'Download Zip' and wait until it download.
  • Then you need to decompress it.
  • You will need to have Zip compress file software installed in your computer. If you don't have it you can download it from here
    https://www.7-zip.org/download.html
  • Do double click on the Capstone-1.zip and choose a folder where to place all teh decompressed files.
  • Once you are done decompressing, you can open the created folder.
  • In it you can double click on the index.html file and choose a browser to open it (For example google Chrome Browser).
  • Now you should be able to see the project.
  • Remember to use the mouse to navigate through the website.
    Also you can use the keys 'arrow up' and 'arrow down' of your keyboard
    to scroll up and down.

Prerequisites

  • Node.JS

=======

Author

Abraham Rodriguez

=======

Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

=======

Show your support

Give a if you like this project!

=======

Acknowledgments

  • Microverse for giving me this chance
  • The amazing code reviewers for making me improve every day 👍

=======

Related Projects