Fail
expect(received).toHaveBeenCalledWith(...expected)View in Storybook
Matcher error: received value must be a mock or spy function
Received has type: function
Received has value: "[Function n]"
Chrome 105
960x720
Linux Linux Ubuntu 20.04.4
734e3b on jono/ap-4042-ui-to-uninstall-addon
Caught exception in
play
functionThis story threw an error after it finished rendering which means interactions may not have been executed fully.
Error: expect(received).toHaveBeenCalledWith(...expected) Matcher error: received value must be a mock or spy function Received has type: function Received has value: [Function n] at mn.invoke (https://6480e1b0042842f149cfd74c-ztpgbwxfxs.capture-loopback.chromatic.com/assets/preview-491c2890.js:27:9090) at mn.track (https://6480e1b0042842f149cfd74c-ztpgbwxfxs.capture-loopback.chromatic.com/assets/preview-491c2890.js:27:6385) at Object.toHaveBeenCalledWith (https://6480e1b0042842f149cfd74c-ztpgbwxfxs.capture-loopback.chromatic.com/assets/preview-491c2890.js:27:5657) at https://6480e1b0042842f149cfd74c-ztpgbwxfxs.capture-loopback.chromatic.com/assets/VisualTests.stories-eaf512b0.js:180:8501 at https://6480e1b0042842f149cfd74c-ztpgbwxfxs.capture-loopback.chromatic.com/assets/preview-491c2890.js:27:9010 at tS (https://6480e1b0042842f149cfd74c-ztpgbwxfxs.capture-loopback.chromatic.com/assets/playAll-b9f125c1.js:31:194) at C (https://6480e1b0042842f149cfd74c-ztpgbwxfxs.capture-loopback.chromatic.com/assets/playAll-b9f125c1.js:42:3041) at _ (https://6480e1b0042842f149cfd74c-ztpgbwxfxs.capture-loopback.chromatic.com/assets/playAll-b9f125c1.js:42:2995)