Karma error: __esri is not defined

403
2
02-17-2020 08:16 AM
Highlighted
New Contributor III

Running into this error when trying to run Angular 8 tests against components containing ArcGIS API for JavaScript 4.12 Typescript types. Any ideas or guidance on how to set up Karma with Angular? Tom Wayson Andy Gup

Reply
0 Kudos
2 Replies
Highlighted
Esri Regular Contributor

Hi Shane, it's a known issue. We'll be looking into this over the next few weeks along with migration to Angular 9, here's the issue to track: Webpack example running tests fails · Issue #49 · Esri/angular-cli-esri-map · GitHub 

Highlighted
New Contributor III

Thank you for the update Andy!

Reply
0 Kudos