marvinhagemeister / karma-esbuild

Preprocessor based on esbuild for the karma test runner
MIT License
21 stars 10 forks source link

Fix urls when filename contains multiple dots. #51

Closed marvinhagemeister closed 2 years ago

marvinhagemeister commented 2 years ago

When a file contains multiple dots like foo.test.js we'd treat everything after the first dot as an extension as opposed to everything after the last dot.

This is a regression introduced in #49 which I missed during my review.

marvinhagemeister commented 2 years ago

Going to go ahead and merge this myself since the fix is trivial.