jest-each
Advanced tools
+15
-15
@@ -13,4 +13,4 @@ /*! | ||
| /***/ "./src/bind.ts": | ||
| /***/ ((__unused_webpack_module, exports, __webpack_require__) => { | ||
| /***/ "./src/bind.ts" | ||
| (__unused_webpack_module, exports, __webpack_require__) { | ||
@@ -83,6 +83,6 @@ | ||
| /***/ }), | ||
| /***/ }, | ||
| /***/ "./src/table/array.ts": | ||
| /***/ ((__unused_webpack_module, exports, __webpack_require__) => { | ||
| /***/ "./src/table/array.ts" | ||
| (__unused_webpack_module, exports, __webpack_require__) { | ||
@@ -158,6 +158,6 @@ | ||
| /***/ }), | ||
| /***/ }, | ||
| /***/ "./src/table/interpolation.ts": | ||
| /***/ ((__unused_webpack_module, exports) => { | ||
| /***/ "./src/table/interpolation.ts" | ||
| (__unused_webpack_module, exports) { | ||
@@ -211,6 +211,6 @@ | ||
| /***/ }), | ||
| /***/ }, | ||
| /***/ "./src/table/template.ts": | ||
| /***/ ((__unused_webpack_module, exports, __webpack_require__) => { | ||
| /***/ "./src/table/template.ts" | ||
| (__unused_webpack_module, exports, __webpack_require__) { | ||
@@ -245,6 +245,6 @@ | ||
| /***/ }), | ||
| /***/ }, | ||
| /***/ "./src/validation.ts": | ||
| /***/ ((__unused_webpack_module, exports) => { | ||
| /***/ "./src/validation.ts" | ||
| (__unused_webpack_module, exports) { | ||
@@ -327,3 +327,3 @@ | ||
| /***/ }) | ||
| /***/ } | ||
@@ -330,0 +330,0 @@ /******/ }); |
+5
-5
| { | ||
| "name": "jest-each", | ||
| "version": "30.2.0", | ||
| "version": "30.3.0", | ||
| "description": "Parameterised tests for Jest", | ||
@@ -31,6 +31,6 @@ "main": "./build/index.js", | ||
| "@jest/get-type": "30.1.0", | ||
| "@jest/types": "30.2.0", | ||
| "@jest/types": "30.3.0", | ||
| "chalk": "^4.1.2", | ||
| "jest-util": "30.2.0", | ||
| "pretty-format": "30.2.0" | ||
| "jest-util": "30.3.0", | ||
| "pretty-format": "30.3.0" | ||
| }, | ||
@@ -43,3 +43,3 @@ "engines": { | ||
| }, | ||
| "gitHead": "855864e3f9751366455246790be2bf912d4d0dac" | ||
| "gitHead": "efb59c2e81083f8dc941f20d6d20a3af2dc8d068" | ||
| } |
| 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 }; |
35777
-6.39%6
-14.29%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated
Updated