Skip to content
monorepo containing the various nuts and bolts that facilitate istanbul.js test instrumentation
JavaScript CSS
Branch: master
Clone or download

Latest commit

finn-wa Added instructions for using nyc-config-typescript with Jasmine (#566)
It took me a long time to figure out how to use nyc with TypeScript without using Mocha – it ended up being fairly simple, but there's a lot that you can do wrong and no guidance in the documentation. Thought it may be useful to amend the documentation with the solution.

 I also added a cautionary note about excluding the TypeScript compiled output directory.
Latest commit 1b52fe7 May 20, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
packages Added instructions for using nyc-config-typescript with Jasmine (#566) May 20, 2020
.editorconfig chore: misc/cleanup (#12) Mar 21, 2017
.eslintignore chore: Delete istanbul-api (#396) May 10, 2019
.eslintrc feat: Update dependencies, require Node.js 8 (#401) May 25, 2019
.gitattributes Fix ESLint errors on windows (#300) Feb 18, 2019
.gitignore feat: Add TestExclude.globSync to find all files (#309) Mar 4, 2019
.npmrc chore: Disable and remove package-lock files (#386) May 4, 2019
.prettierignore chore: Run all files through prettier (#376) Apr 21, 2019
.travis.yml feat: Update dependencies, require Node.js 8 (#401) May 25, 2019
README.md chore: Run all files through prettier (#376) Apr 21, 2019
greenkeeper.json chore: Tell greenkeeper to ignore semver updates. Dec 14, 2019
lerna.json chore: Run all files through prettier (#376) Apr 21, 2019
monorepo-merge-reports.js chore: Fix prettier complaint (#480) Sep 28, 2019
monorepo-per-package-full.js chore: full test coverage for istanbul-lib-hook (#453) Jul 23, 2019
monorepo-per-package-nycrc.json chore: Isolate coverage reporting per package (#397) May 12, 2019
package.json chore: Bump dependencies (#510) Dec 7, 2019

README.md

IstanbulJS

Greenkeeper badge Build Status Coverage Status Conventional Commits community slack

Having problems? want to contribute? join our community slack.

Everyone's favorite JS code coverage tool.

About this Repo

This monorepo contains the nuts and bolts utility libraries that facilitate IstanbulJS test coverage; Why a monorepo?

  • it allows us to more easily test API changes across coupled modules, e.g., changes to istanbul-lib-coverage potentially have an effect on istanbul-lib-instrument.
  • it gives us a centralized repo for discussions about bugs and upcoming features.

Where Should I Start

You're probably actually looking for one of the following repos:

  • nyc: the IstanbulJS 2.0 command line interface, providing painless coverage support for most popular testing frameworks.
  • babel-plugin-istanbul: a babel plugin for instrumenting your ES2015+ code with Istanbul compatible coverage tracking.
  • istanbul: the legacy 1.0 IstanbulJS interface (you should now consider instead using nyc or babel-plugin-istanbul).

Contributing

Contributing to the packages contained in this repo is easy:

  1. after checking out, run npm install (this will run the lerna build).
  2. to run all tests, simply run npm test in the root directory.
  3. to run tests for a single package cd package/:name and run npm test within the package's folder.
You can’t perform that action at this time.