Socket
Socket
Sign inDemoInstall

jest-runner-tsc

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-runner-tsc

A Jest Runner for the TypeScript compiler


Version published
Weekly downloads
6K
decreased by-0.02%
Maintainers
1
Weekly downloads
 
Created
Source

jest-runner-tsc

Travis Prettier npm semantic-release License

A Jest runner for the TypeScript compiler

install

npm install --save-dev jest-runner-tsc

usage

Jest configuration:

jest.tsc.config.js:

module.exports = {
  runner: 'jest-runner-tsc',
  displayName: 'tsc',
  moduleFileExtensions: ['js','ts', 'tsx'],
  testMatch: ['<rootDir>/**/*.ts'],
};

options

This project uses cosmiconfig, so you can provide config via:

  • a jest-runner-tsc property in your package.json
  • a jest-runner-tsc.config.js JS file
  • a .jest-runner-tscrc JSON file

Example in package.json

{
  "jest-runner-tsc": {
    "tsconfigPath": "./tsconfig.types.json"
  }
}

tsconfigPath

Default: ./tsconfig.json

A relative path to your tsconfig.json file.

run

jest -c jest.tsc.config.js

FAQs

Package last updated on 16 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc