A Books manager webapp that lists existing records and allows user to add and remove to and from the books record.
✔️check array length after a new element added
✔️check <ul>
children number after a new <li>
created
✔️check new array element value toMatchObject
✔️check array length after an element removed
✔️check <ul>
children number after <li>
element removed
✔️ check li
child :placeholder
to equal test case value
✔️ check array[index].description
to equal test case value
✔️ check the status of array element to change to true on checkbox.checked = true
;
✔️ check all completed li
removed when function invoked;
✔️ check all corresponding array elements are removed;
- html
- css
- JavaScript
- Node.js
- npm
- jest
Use this repo as a reference or clone to customize for your own project.
- Must have a working computer
- A Web-Browser installed (Chrome - Recommended)
- Install a text editor which will work for you. I personally prefer Atom
- Clone this project repository on your local computer. link
- Open the project directory with Text Editor
Open Terminal/Git Bash inside your and run
npm install --force
Install Jest to run tests
npm install --save-dev jest
Install JSDOM to manipulate document elements
npm install --save-dev jsdom global-jsdom
Install Local Storage Mock to interact with local storage
npm i --save-dev jest-localstorage-mock
- For hint tests, run
npm run lint:hint
- For style tests, run
npm run lint:style
- For eslint tests, run
npm run lint:es
👤 Nadezhda
- GitHub: @petushka1
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Fellow Micronauts