This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

View File

@@ -7,7 +7,7 @@
*/
import { Global } from '@jest/types';
import bind from './bind';
declare type Global = NodeJS.Global;
declare type Global = Global.Global;
declare const each: {
(table: Global.EachTable, ...data: unknown[]): {
describe: {
@@ -31,7 +31,7 @@ declare const each: {
xit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
xtest: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
};
withGlobal(g: NodeJS.Global): (table: Global.EachTable, ...data: unknown[]) => {
withGlobal(g: Global.Global): (table: Global.EachTable, ...data: unknown[]) => {
describe: {
(title: string, suite: Global.EachTestFn, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;