github-pages-deploy-action/node_modules/@jest/reporters/build/ts3.4/generateEmptyCoverage.d.ts

20 lines
845 B
TypeScript
Raw Normal View History

2020-03-31 20:42:07 +08:00
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { Config } from '@jest/types';
import { FileCoverage } from 'istanbul-lib-coverage';
import { V8Coverage } from 'collect-v8-coverage';
declare type SingleV8Coverage = V8Coverage[number];
export declare type CoverageWorkerResult = {
kind: 'BabelCoverage';
coverage: FileCoverage;
} | {
kind: 'V8Coverage';
result: SingleV8Coverage;
};
2020-04-30 20:40:07 +08:00
export default function (source: string, filename: Config.Path, globalConfig: Config.GlobalConfig, config: Config.ProjectConfig, changedFiles?: Set<Config.Path>, sourcesRelatedToTestsInChangedFiles?: Set<Config.Path>): CoverageWorkerResult | null;
2020-03-31 20:42:07 +08:00
export {};