coverage_worker.d.ts 765 B

123456789101112131415161718
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. import { Config } from '@jest/types';
  8. import { CoverageReporterSerializedOptions } from './types';
  9. import { CoverageWorkerResult } from './generateEmptyCoverage';
  10. export declare type CoverageWorkerData = {
  11. globalConfig: Config.GlobalConfig;
  12. config: Config.ProjectConfig;
  13. path: Config.Path;
  14. options?: CoverageReporterSerializedOptions;
  15. };
  16. export { CoverageWorkerResult };
  17. export declare function worker({ config, globalConfig, path, options, }: CoverageWorkerData): CoverageWorkerResult | null;
  18. //# sourceMappingURL=coverage_worker.d.ts.map