[Bug]: jest.doMock
type from @jest/globals
lacks of optional options
parameter
#12289
Labels
jest.doMock
type from @jest/globals
lacks of optional options
parameter
#12289
Version
27.4.6
Steps to reproduce
jest
from@jest/globals
jest.doMock('some/module', someFactory, {virtual: true})
Expected 1-2 arguments, but got 3.ts(2554)
Expected behavior
jest.doMock
should have the same signature of the one from@types/jest
Actual behavior
@jest/gloabls
types definitions seem to be different from@types/jest
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: