build-tools-typescript-jest

build-tools-typescript-jest

npm i build-tools-typescript-jest

Readme

npm version

build-tools-typescript-jest

Adds all required dependencies and configurations to use typescript with jest in JavaScript projects.

Although not required, it works best with build-tools-jest.

Install

npm install --save-dev build-tools-jest build-tools-typescript-jest

Usage

Extend your jest configuration with build-tools-typescript-jest

// jest.config.js
module.exports = {
  ...require('build-tools-jest'),
  ...require('build-tools-typescript-jest')
};

Then you can run jest as you would normally do, e.g:

npx jest --config jest.config.js

Jump To