I got this horrible “ReferenceError: capacitorExports is not defined” error while running the tests in my Ionic/Angular/Capacitor project after adding a new Plugin. For luck I was able to find a workaround this problem and keep the test running.
Tag: jest