diff --git a/types/jest/index.d.ts b/types/jest/index.d.ts index f18402b82c..0246eb9323 100644 --- a/types/jest/index.d.ts +++ b/types/jest/index.d.ts @@ -757,7 +757,7 @@ declare namespace jest { */ nthReturnedWith(n: number, value: E): R; /** - * Checks that a value is what you expect. It uses `===` to check strict equality. + * Checks that a value is what you expect. It uses `Object.is` to check strict equality. * Don't use `toBe` with floating-point numbers. * * Optionally, you can provide a type for the expected value via a generic.