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.
Asked
Active
Viewed 1,016 times
1
-
Any resolution on this? – Kurtis Jungersen Sep 01 '22 at 20:20
1 Answers
0
I am now using jest-preset-angular with esm defaults. https://thymikee.github.io/jest-preset-angular/docs/guides/esm-support

Rafael Guimaraes Siqueira
- 170
- 1
- 7