first_commit

This commit is contained in:
2026-01-12 12:43:50 +01:00
parent c75b3e9563
commit 69e186a7f1
15289 changed files with 1616360 additions and 1944 deletions
+78
View File
@@ -0,0 +1,78 @@
import { Global } from "@jest/types";
//#region src/bind.d.ts
type GlobalCallback = (testName: string, fn: Global.ConcurrentTestFn, timeout?: number, eachError?: Error) => void;
declare function bind<EachCallback extends Global.TestCallback>(cb: GlobalCallback, supportsDone?: boolean, needsEachError?: boolean): Global.EachTestFn<any>;
//#endregion
//#region src/index.d.ts
type Global$1 = Global$1.Global;
declare const install: (g: Global$1, table: Global$1.EachTable, ...data: Global$1.TemplateData) => {
describe: {
(title: string, suite: Global$1.EachTestFn<Global$1.BlockFn>, timeout?: number): any;
skip: any;
only: any;
};
fdescribe: any;
fit: any;
it: {
(title: string, test: Global$1.EachTestFn<Global$1.TestFn>, timeout?: number): any;
skip: any;
only: any;
concurrent: {
(title: string, test: Global$1.EachTestFn<Global$1.TestFn>, timeout?: number): any;
only: any;
skip: any;
};
};
test: {
(title: string, test: Global$1.EachTestFn<Global$1.TestFn>, timeout?: number): any;
skip: any;
only: any;
concurrent: {
(title: string, test: Global$1.EachTestFn<Global$1.TestFn>, timeout?: number): any;
only: any;
skip: any;
};
};
xdescribe: any;
xit: any;
xtest: any;
};
declare const each: {
(table: Global$1.EachTable, ...data: Global$1.TemplateData): ReturnType<typeof install>;
withGlobal(g: Global$1): (table: Global$1.EachTable, ...data: Global$1.TemplateData) => {
describe: {
(title: string, suite: Global$1.EachTestFn<Global$1.BlockFn>, timeout?: number): any;
skip: any;
only: any;
};
fdescribe: any;
fit: any;
it: {
(title: string, test: Global$1.EachTestFn<Global$1.TestFn>, timeout?: number): any;
skip: any;
only: any;
concurrent: {
(title: string, test: Global$1.EachTestFn<Global$1.TestFn>, timeout?: number): any;
only: any;
skip: any;
};
};
test: {
(title: string, test: Global$1.EachTestFn<Global$1.TestFn>, timeout?: number): any;
skip: any;
only: any;
concurrent: {
(title: string, test: Global$1.EachTestFn<Global$1.TestFn>, timeout?: number): any;
only: any;
skip: any;
};
};
xdescribe: any;
xit: any;
xtest: any;
};
};
//#endregion
export { bind, each as default };