Karma error: __esri is not defined

1172
2
02-17-2020 08:16 AM
ShaneBuscher1
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

0 Kudos
2 Replies
AndyGup
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 

ShaneBuscher1
New Contributor III

Thank you for the update Andy!

0 Kudos