a good day.
im testing to see that the function has received all its arguments.
I know the significance of her two arguments,
but for the third arg, I just want to check if it exists.
expect(myFunction).toHaveBeenCalledWithMatcher({
a: 1,
b: 2,
c: dont know its val but want it to exist
});
early
source
share