ApprovalTests.TypeScript Template Project For Jest

.github/workflows/test.yml

This is a minimal template project for TypeScript development, e.g. for use in a Code Retreat, especially for use with mob.sh.

Quick Start

  1. Create a repository from this template. See Creating a repository from a template for more information.
  2. Install the dependencies: npm install
  3. Watch for file changes are run the tests: npm run watch
  4. Edit test/Sample.test.ts.

Running tests

Execute the tests with:

$ ./run_tests.sh

Default Tools

  • Jest is used as the test running.
  • Prettier is available to standardize code style.