https://github.com/krisbobo/testing-js
JavaScript unit test using Jest framework
https://github.com/krisbobo/testing-js
javascript-es6 jest jest-matchers jest-tests
Last synced: 3 months ago
JSON representation
JavaScript unit test using Jest framework
- Host: GitHub
- URL: https://github.com/krisbobo/testing-js
- Owner: krisbobo
- License: mit
- Created: 2022-11-17T11:05:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-17T15:21:45.000Z (over 3 years ago)
- Last Synced: 2025-04-23T22:35:53.279Z (about 1 year ago)
- Topics: javascript-es6, jest, jest-matchers, jest-tests
- Language: JavaScript
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unit Testing using Jest
> This is a practice project on unit testing using Jest.
## Built With
- JavaScript
- Jest
- npm
- VSCODE
## Getting Started
**To get a local copy up and running, follow the following steps:**
### Prerequisites
- JavaScript ES6 and classes.
- Git installation and version control.
- Jest installation and package management.
### Setup
- Clone this repository or download the Zip folder:
> git@github.com:krisbobo/testing-js.git
- Navigate to the location of the folder on your machine:
`you@your-PC-name:~$ cd `
## Run Tests
**To run the tests, download all the dependencies using:**
> npm install
**To test a file called file1, run:**
`jest `
**To test all files, run:**
`jest`
## Authors
## 👤 Christian Kiyong
- GitHub: [krisbobo](https://github.com/krisbobo)
- Twitter: [ChrisboboSys](https://twitter.com/ChrisboboSys)
- LinkedIn: [kiyong-christian](https://linkedin.com/in/kiyong-christian)
## Contributions, issues, and feature requests are welcomed
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!
## 📝 License
This project is [MIT](./LICENSE) licensed.