Node Unit Testing

Overview

Sandbox environment to try out some unit testing stuff in JS.

Starting the Test Suite(s)

  1. docker build -t node-unit-testing .
  2. To run all the tests -> docker run --rm -v $(pwd):/service node-unit-testing
  3. To run a specific test suite -> docker run --rm -v $(pwd):/service node-unit-testing yarn test:<dir> (ie. docker run --rm -v $(pwd):/service node-unit-testing yarn test:no-test-runner)