@@ -259,6 +259,9 @@ type DomTestingLibraryType = {
259
259
// 5.x
260
260
toHaveDisplayValue ( value : string | string [ ] ) : void ,
261
261
toBeChecked ( ) : void ,
262
+ toBeEmptyDOMElement ( ) : void ,
263
+ toBePartiallyChecked ( ) : void ,
264
+ toHaveDescription ( text : string | RegExp ) : void ,
262
265
...
263
266
} ;
264
267
@@ -847,11 +850,15 @@ type JestObjectType = {
847
850
* Determines if the given function is a mocked function.
848
851
*/
849
852
isMockFunction ( fn : Function ) : boolean ,
853
+ /**
854
+ * Alias of `createMockFromModule`.
855
+ */
856
+ genMockFromModule ( moduleName : string ) : any ,
850
857
/**
851
858
* Given the name of a module, use the automatic mocking system to generate a
852
859
* mocked version of the module for you.
853
860
*/
854
- genMockFromModule ( moduleName : string ) : any ,
861
+ createMockFromModule ( moduleName : string ) : any ,
855
862
/**
856
863
* Mocks a module with an auto-mocked version when it is being required.
857
864
*
@@ -1057,11 +1064,20 @@ declare var it: {
1057
1064
* @param {Function } Test
1058
1065
* @param {number } Timeout for the test, in milliseconds.
1059
1066
*/
1060
- skip (
1061
- name : JestTestName ,
1062
- fn ?: ( done : JestDoneFn ) => ?Promise < mixed > ,
1063
- timeout ?: number
1064
- ) : void ,
1067
+ skip : { |
1068
+ (
1069
+ name : JestTestName ,
1070
+ fn ?: ( done : JestDoneFn ) => ?Promise < mixed > ,
1071
+ timeout ?: number
1072
+ ) : void ,
1073
+ each (
1074
+ ...table : Array < Array < mixed > | mixed > | [ Array < string > , string ]
1075
+ ) : (
1076
+ name : JestTestName ,
1077
+ fn ?: ( ...args : Array < any > ) => ?Promise < mixed > ,
1078
+ timeout ?: number
1079
+ ) = > void ,
1080
+ | } ,
1065
1081
/**
1066
1082
* Highlight planned tests in the summary output
1067
1083
*
0 commit comments