coverage.d.mts 610 B

12345678910111213141516
  1. import { CliArgs } from './args.mjs';
  2. import { ResolvedTestConfiguration } from './config.mjs';
  3. /**
  4. * Manages collecting coverage data from test runs. All runs, regardless of
  5. * platform, expect coverage data given in the V8 coverage format. We then
  6. * use c8 to convert it to the common Istanbul format and represent it with
  7. * a variety of reporters.
  8. */
  9. export declare class Coverage {
  10. private readonly config;
  11. private readonly args;
  12. readonly targetDir: string;
  13. constructor(config: ResolvedTestConfiguration, args: CliArgs);
  14. write(): Promise<void>;
  15. private getSourcesDirectories;
  16. }