mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Add equals method to MatcherUtils
See http://jestjs.io/docs/en/expect.html#thisequalsa-b > this.equals(a, b) > This is a deep-equality function that will return true if two objects have the same values (recursively).
This commit is contained in:
Vendored
+4
@@ -266,6 +266,10 @@ declare namespace jest {
|
||||
printWithType(name: string, received: any, print: (value: any) => string): string;
|
||||
stringify(object: {}, maxDepth?: number): string;
|
||||
};
|
||||
/**
|
||||
* This is a deep-equality function that will return true if two objects have the same values (recursively).
|
||||
*/
|
||||
equals(a: any, b: any): boolean;
|
||||
}
|
||||
|
||||
interface ExpectExtendMap {
|
||||
|
||||
Reference in New Issue
Block a user