bare-cov

Generate coverage reports using Bare and Node.js

Apache-2.0 8 个版本
安装
npm install bare-cov
yarn add bare-cov
pnpm add bare-cov
bun add bare-cov
README

bare-cov

Run tests with coverage

Installation

npm i bare-cov

Usage

// Record coverage until current process ends and then generate reports
require('bare-cov')(options)

Options

reporters

Coverage reporter(s) to use (default: ['text', 'json'])

reporterOptions

Options to pass to each reporter keyed by reporter (default: {})

dir

Directory to write coverage reports to (default: coverage)

skipRawDump

Skip saving of raw v8 coverage data to disk (default: false)

License

Apache-2.0

版本列表
1.2.2 2026-05-05
1.2.1 2025-11-21
1.2.0 2025-10-03
1.1.2 2025-09-02
1.1.1 2025-05-08
1.1.0 2025-04-23
1.0.1 2024-07-16
1.0.0 2024-07-12