Skip to content

krisbobo/testing-js

Repository files navigation

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 <folder>

Run Tests

To run the tests, download all the dependencies using:

npm install

To test a file called file1, run:

jest <file1>

To test all files, run:

jest

Authors

👤 Christian Kiyong

Contributions, issues, and feature requests are welcomed

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

Releases

No releases published

Packages

No packages published