https://github.com/simandebvu/javascript-unit-testing-practice
Practicing JavaScript Unit Testing Using Jest.
https://github.com/simandebvu/javascript-unit-testing-practice
Last synced: about 1 year ago
JSON representation
Practicing JavaScript Unit Testing Using Jest.
- Host: GitHub
- URL: https://github.com/simandebvu/javascript-unit-testing-practice
- Owner: simandebvu
- License: mit
- Created: 2020-08-25T17:19:16.000Z (almost 6 years ago)
- Default Branch: development
- Last Pushed: 2020-08-27T10:13:35.000Z (almost 6 years ago)
- Last Synced: 2025-02-03T08:50:06.092Z (over 1 year ago)
- Language: JavaScript
- Size: 558 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PROJECT: TESTING PRACTICE
JEST : Testing
Testing with JEST.
Explore the docs »
Report Bug
·
Request Feature
> Writing tests for the following functions, and then make the tests pass!
- `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
- Node
- Jest
- VSCode
- ESLint
- Stylelint
- Github Actions
## Prerequisites
- Node ^10
- npm ^6
## Running Locally
Clone the repo:
`git clone https://github.com/simandebvu/javascript-unit-testing-practice.git`
Inside the root folder of the project, install the node packages:
`npm install`
Go to the root folder and run the npm server script:
`npm test`
## Authors
👤 **Shingirayi Mandebvu**
- Github: [@simandebvu](https://github.com/simandebvu)
- Twitter: [@simandebvu](https://twitter.com/simandebvu)
- Linkedin: [linkedin](https://linkedin.com/in/simandebvu)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check the [issues page](issues/).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
- Microverse
## 📝 License
This project is [MIT](lic.url) licensed.