mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #24426 from bradleyayers/patch-4
Update Jest types to fix MatcherUtils
This commit is contained in:
Vendored
+3
-2
@@ -12,6 +12,7 @@
|
||||
// Douglas Duteil <https://github.com/douglasduteil>
|
||||
// Ahn <https://github.com/AhnpGit>
|
||||
// Josh Goldberg <https://github.com/joshuakgoldberg>
|
||||
// Bradley Ayers <https://github.com/bradleyayers>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -236,8 +237,8 @@ declare namespace jest {
|
||||
interface MatcherUtils {
|
||||
readonly isNot: boolean;
|
||||
utils: {
|
||||
readonly EXPECTED_COLOR: string;
|
||||
readonly RECEIVED_COLOR: string;
|
||||
readonly EXPECTED_COLOR: (text: string) => string;
|
||||
readonly RECEIVED_COLOR: (text: string) => string;
|
||||
ensureActualIsNumber(actual: any, matcherName?: string): void;
|
||||
ensureExpectedIsNumber(actual: any, matcherName?: string): void;
|
||||
ensureNoExpected(actual: any, matcherName?: string): void;
|
||||
|
||||
Reference in New Issue
Block a user