mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
[jest] updated toHaveProperty method of Matchers
This commit is contained in:
2
types/jest/index.d.ts
vendored
2
types/jest/index.d.ts
vendored
@@ -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