/unit-test-bench

Sample unit test bench that can be used to test Codewars puzzles

Primary LanguageJavaScript

unit-test-bench

Sample unit test bench that can be used to test Codewars puzzles.

Description

Sample unit test bench that can be used to test Codewars puzzles.

Built with

  • TypeScript
  • Unit testing with Jest, should allow both JS and TS
  • ESLint static linter

Getting started

Install

Install node modules by running command npm install

Usage

Run all the tests with command npm test.

Run tests in watch mode by npm run watch.

In VSCode, it is also possible to debug unit tests by using Jest current file debug command.