GoScrobble/web/node_modules/@jest/test-result/build/helpers.d.ts

13 lines
682 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00: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 type { Config } from '@jest/types';
import type { AggregatedResult, SerializableError, TestResult } from './types';
export declare const makeEmptyAggregatedTestResult: () => AggregatedResult;
export declare const buildFailureTestResult: (testPath: Config.Path, err: SerializableError) => TestResult;
export declare const addResult: (aggregatedResults: AggregatedResult, testResult: TestResult) => void;
export declare const createEmptyTestResult: () => TestResult;