This repository was archived by the owner on Jan 31, 2024. It is now read-only.

Description
Hi there,
We are currently using storybook 7. And we would like to validate the arguments with which some actions are called. However, the other of the items needs to match exactly if we use the code below and this is making testing very difficult.
expect(args.onError).toHaveBeenCalledWith(
'ERROR_CODE',
['someError', 'someOtherError']
);
We would like to capture the arguments so we can test them easier. How can we do this?
Thanks!