property MockFunctionCall.target
If the mocked function is a constructor, this field contains the class being constructed.
Otherwise this will be undefined.
Type #
F extends new (...args: any) => any ? F : undefined If the mocked function is a constructor, this field contains the class being constructed.
Otherwise this will be undefined.
F extends new (...args: any) => any ? F : undefined