Jest assert over single or specific argument/parameters with .toHaveBeenCalledWith and expect.anything()
With Jest it’s possible to assert of single or specific arguments/parameters of a mock function call...
Tags: javascript, testing, jest, tdd