aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@jest/test-result/build/helpers.d.ts
blob: 480c7ab3e521298ec4f6b1b7017bc3ee18e1ad23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * 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;