diff --git a/types/jest/jest-tests.ts b/types/jest/jest-tests.ts index cb3e2cd7cd63ed..4aa7880e956bb9 100644 --- a/types/jest/jest-tests.ts +++ b/types/jest/jest-tests.ts @@ -366,7 +366,7 @@ const spy3Mock = spy3 .mockRejectedValueOnce("value"); let spy4: jest.SpyInstance; -// $ExpectType SpyInstance +// $ExpectType SpyInstance spy4 = jest.spyOn(spiedTarget, "returnsString"); // compiles because spy4 is declared as jest.SpyInstance spy4.mockImplementation(() => 1);