bind.d.ts 788 B

1234567891011121314151617
  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. */
  8. import { Global } from '@jest/types';
  9. export declare type EachTests = Array<{
  10. title: string;
  11. arguments: Array<unknown>;
  12. }>;
  13. declare type TestFn = (done?: Global.DoneFn) => Promise<any> | void | undefined;
  14. declare type GlobalCallback = (testName: string, fn: TestFn, timeout?: number) => void;
  15. declare const _default: (cb: GlobalCallback, supportsDone?: boolean) => (table: Global.EachTable, ...taggedTemplateData: unknown[]) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
  16. export default _default;
  17. //# sourceMappingURL=bind.d.ts.map