UNPKG

@storybook/addon-coverage

Version:

Tools to support code coverage in Storybook

17 lines (14 loc) 382 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getNycConfig = getNycConfig; var _loadNycConfig = require("@istanbuljs/load-nyc-config"); // @ts-expect-error no types async function getNycConfig(opts = {}) { const cwd = opts.cwd ?? process.cwd(); return (0, _loadNycConfig.loadNycConfig)({ cwd, nycrcPath: opts.nycrcPath }); }