Skip to content

hoa-pham82/jest-unit-testing-examples

 
 

Repository files navigation

Tests

Jest Unit Testing Examples

Welcome to the world of Jest testing!

Our mission is to break you into this world gently. So let's begin....

Pre-requisites

Download

Just use git to clone the ssh version:

git clone [email protected]:jhbsk/jest-unit-testing-examples.git

Or use git to clone the https version:

git clone https://github.com/jhbsk/jest-unit-testing-examples.git

Or download the .zip archive and unzip it to the folder jest-unit-testing-examples:

https://github.com/jhbsk/jest-unit-testing-examples/archive/master.zip

Installation

On the command-line or Terminal, navigate to the root of the directory which you downloaded and run:

  • If you have npm: npm install
  • If you have yarn: yarn install

Running tests

Here are a few commands you should now be able to run:

  • Run Jest tests once: npm test or yarn test
  • Run Jest in watch mode (great for TDD): npm run test:watch or yarn test:watch

====

About

Jest Unit Testing Examples from beginners to advanced

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%