source: frontend/node_modules/@bcoe/v8-coverage/dist/lib/merge.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago

Fix frontend appearance

  • Property mode set to 100644
File size: 1.5 KB
Line 
1import { FunctionCov, ProcessCov, ScriptCov } from "./types";
2/**
3 * Merges a list of process coverages.
4 *
5 * The result is normalized.
6 * The input values may be mutated, it is not safe to use them after passing
7 * them to this function.
8 * The computation is synchronous.
9 *
10 * @param processCovs Process coverages to merge.
11 * @return Merged process coverage.
12 */
13export declare function mergeProcessCovs(processCovs: ReadonlyArray<ProcessCov>): ProcessCov;
14/**
15 * Merges a list of matching script coverages.
16 *
17 * Scripts are matching if they have the same `url`.
18 * The result is normalized.
19 * The input values may be mutated, it is not safe to use them after passing
20 * them to this function.
21 * The computation is synchronous.
22 *
23 * @param scriptCovs Process coverages to merge.
24 * @return Merged script coverage, or `undefined` if the input list was empty.
25 */
26export declare function mergeScriptCovs(scriptCovs: ReadonlyArray<ScriptCov>): ScriptCov | undefined;
27/**
28 * Merges a list of matching function coverages.
29 *
30 * Functions are matching if their root ranges have the same span.
31 * The result is normalized.
32 * The input values may be mutated, it is not safe to use them after passing
33 * them to this function.
34 * The computation is synchronous.
35 *
36 * @param funcCovs Function coverages to merge.
37 * @return Merged function coverage, or `undefined` if the input list was empty.
38 */
39export declare function mergeFunctionCovs(funcCovs: ReadonlyArray<FunctionCov>): FunctionCov | undefined;
Note: See TracBrowser for help on using the repository browser.