Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 522 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 522 Bytes

Testing Workstation

This is a simple test runner setup for playing with a Javascript function.

Installation

  • Clone the repo
  • From a command line, inside the repo directory, run npm i to install Jest.
  • npm test to smoke test jest is working.

Usage

  • Edit the test
  • Edit the source lib
  • npm test for a single test run, or
  • npm run test:watch to re-run tests on file change.

Important Links

Jest API docs