django-importmap icon indicating copy to clipboard operation
django-importmap copied to clipboard

Fix error in payload generated by ImportmapGenerator

Open izaguirrejoe opened this issue 1 year ago • 1 comments

The current implementation isn't working correctly, self.targets is already an array. This removes the extra brackets, adds pytest as a dev dependency, and adds missing tests for ImportmapGenerator.

izaguirrejoe avatar Sep 25 '24 19:09 izaguirrejoe

Interesting. I will try to take a look this week — it definitely looks like you're right at a glance, I just can't imagine how this could have been wrong unless something changed!

davegaeddert avatar Sep 29 '24 03:09 davegaeddert