An open API service indexing awesome lists of open source software.

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

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.