method
test.Matchers.toHaveLastResolvedWith
expected: unknown
): void;
Ensures that the promise returned by a mock function's last call has resolved with a specific value. This matcher uses deep equality, like toEqual(), and supports asymmetric matchers.