Skip to content

hezhii/jest-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jest-demos

This repertory is a collection of simple demos of Jest for my blog post jest-tutorial.

How to use

First, clone the repo.

$ git clone https://github.com/hezhii/jest-demos.git

Then, install the dependencies.

$ cd jest-demos
$ npm i

Run all the tests.

$ npm test

You can also run a single test by npm test path/name.test.js. For example:

$ npm test async/fetch.test.js

About

A collection of simple demos of Jest

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published