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

Package detail

nyc-config-tsx

loreanvictor52.7kMIT0.1.0

Istanbul.js config for tsx

istanbul.js, nyc, coverage, tsx, typescript, jsx

readme

nyc-config-tsx

A default typescript configuration for test coverage using nyc, which also properly instruments JSX files (see this issue).

Installation

npm i nyc-config-tsx --save-dev

Usage

In package.json/.nycrc:

"nyc": {
  "extends": "nyc-config-tsx",
  ...
}