Skip to content

Files

Latest commit

author
Damiano Salvi
Apr 8, 2023
85a9f47 · Apr 8, 2023

History

History
 
 

jest

JavaScript Kata Boilerplate (using Jest)

This is a boilerplate ready for doing katas in JavaScript.

Jest is the library used for testing. Documentation is available here.

How to use:

This boilerplate requires Node.js 18 or higher installed on your computer.

Clone or download this repository and then install the dependencies: npm install.

Useful commands:

  • Run the code: npm run start.
  • Run the code in watch mode: npm run dev.
  • Run the test: npm run test.
  • Run the test with 'watch' option: npm run test:watch.
  • Run the test with code coverage: npm run test:coverage.
  • Run a basic linter: npm run lint.

You can use yarn instead of npm if you prefer.