mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
[jest] updated toHaveProperty method of Matchers
This commit is contained in:
Vendored
+1
-1
@@ -470,7 +470,7 @@ declare namespace jest {
|
||||
* and it is set to a certain numeric value.
|
||||
*/
|
||||
toHaveLength(expected: number): R;
|
||||
toHaveProperty(propertyPath: string, value?: any): R;
|
||||
toHaveProperty(propertyPath: string | any[], value?: any): R;
|
||||
/**
|
||||
* Check that a string matches a regular expression.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user