Reputation: 181
I suspect this might be related to Ivy and @azure/msal-angular [es2015/esm2015] being compiled with target. I have been trying to run jest unit tests on a project that imports MsalModule and I am getting that error.
Upvotes: 1
Views: 1483
Reputation: 181
I am now using jest-preset-angular with esm defaults. https://thymikee.github.io/jest-preset-angular/docs/guides/esm-support
Upvotes: 0