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 type { Global } from '@jest/types';
|
|
|
|
export declare type EachTests = Array<{
|
|
|
|
title: string;
|
|
|
|
arguments: Array<unknown>;
|
|
|
|
}>;
|
2020-09-13 06:19:45 +08:00
|
|
|
declare type GlobalCallback = (testName: string, fn: Global.ConcurrentTestFn, timeout?: number) => void;
|
|
|
|
declare const _default: <EachCallback extends Global.TestCallback>(cb: GlobalCallback, supportsDone?: boolean) => (table: Global.EachTable, ...taggedTemplateData: Global.TemplateData) => (title: string, test: Global.EachTestFn<EachCallback>, timeout?: number | undefined) => void;
|
2020-03-31 20:42:07 +08:00
|
|
|
export default _default;
|