A Jest unit test that tests a React component which calls certain Jquery functions is not passing. I'm receiving the following error: Error Snapshot
What can I do to solve this?
A Jest unit test that tests a React component which calls certain Jquery functions is not passing. I'm receiving the following error: Error Snapshot
What can I do to solve this?
Would require more information about how you ran the test and whether or not you exposed Jquery correctly. This seems to be a problem of not having Jquery either 'imported' or 'required' properly in the test file.