Jest fungsi anonim tiruan

// Use expect.any(Function)

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