Schein anonyme Funktion Scherz
// Use expect.any(Function)
expect(xyz).toHaveBeenCalledWith(id, values, expect.any(Function));
Jumping Boy
// Use expect.any(Function)
expect(xyz).toHaveBeenCalledWith(id, values, expect.any(Function));