aalbericio

Results 7 comments of aalbericio
trafficstars

I have just installed the Angular dev tool extension and there's no injector tree visualization yet, right?

It would be a quite interesting and useful tool, imho

This is driving us mad. We can not figure out how to configure **Jest** to allow tests that include **OpenLayers** imports. We are using Jest 28 and OpenLayers 6.5.0 but,...

Thanks, @jahow If we call that function from a Jest test, the error arises. This may probably affect more packages other than ol/geom Thanks

Hello all, This may help anyone that faces this same issue: In jest.preset.js: ``` moduleNameMapper: { '^ol/(.*)$': 'node_modules/.compiled/ol/$1.js', } ``` In jest.config.ts: ``` moduleDirectories: [ 'node_modules/.compiled', 'node_modules' ] ``` Before...

Looks like a different issue not related with OpenLayers? We had to follow a similar strategy for several other libs, but I tried to focus my previous answer only on...

Hello, This configuration should work for almost all imports in OL: `'^ol(.*)$': 'node_modules/.compiled/ol$1.js',` But it's also true that is does not work with imports exported from **@types/ol** root index file...