TESTING JAVASCRIPT WITH JEST
The purpose of this project was to do testing practice for functions using jest.
Project requirements
- capitalize(string): Takes a string and returns that string with the first character capitalized.
- reverseString(string) takes a string and returns it reversed.
- A calculator object that contains the basic operations: add, subtract, divide, and multiply.
-
Caesar cipher.
- Array Analysis. Write a function that takes an array of numbers and returns an object with the following properties: average, min, max, and length.
Built With
- Javascript
- Eslint
- Jest
- ES6
Setup
Run
git clone https://github.com/Datagirlcmr/Js-Testing
to clone this project to your local machine and then run.
npm install
to install all the dependencies and modules that were used for this project.
Running Tests
Run
npm run test
For more information, see the
The Odin Project.
Authors
👤 Selma Ndi
👤 Edem Agbenyo
Acknowledgements