- Write unit tests for functions using Jest, a powerful JavaScript testing framework to verify the correct functioning of these functions;
- With already implemented tests, write functions so they meet the proposed tests;
- Write testing and functions using a test-oriented development approach.
Various functions to meet proposed requirements and / or unit tests to ensure that the implementations of the functions are correct.
npm i
npm test
_ (performs all tests present in the application) _npm test path / to / file
_ (runs only the tests present in the PATH / TO / FILE file) _- Example:
npm test tests / average.spec.js
- Example:
- Individual project;
- Time spent on this project: '1' day.