Skip to content

jasdeepkhalsa/jest-unit-testing-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published