Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

build-tools-typescript-jest

adidas84MITdeprecated1.3.0

This package is unmaintained and for reference only, please use the native tools instead

Configurations to use jest with typescript

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

changelog

1.3.0

  • Updated ts-jest and @types/jest to v26.
  • Updated engines to node >= 12 and npm >= 6.

1.2.0

  • Updated ts-jest to v24.2.

1.1.1

  • Updated TSJest dependencies.

1.1.0

  • Updated typescript jest bindings.

1.0.1

  • Initial version: build-tools-typescript-jest.