Fonction anonyme simulée

// Use expect.any(Function)

expect(xyz).toHaveBeenCalledWith(id, values, expect.any(Function));
Jumping Boy