quolpr / quicktest.nvim

Run your tests in split window or popup with live feedback
MIT License
77 stars 5 forks source link

Add helper function `imports_from_...` for vitest and playwright #21

Closed flunderpero closed 2 months ago

flunderpero commented 2 months ago

I was tempted to add a util module with a function js_imports_from or even add it to ts, but I did not want to pollute things and the helper functions are a) very small (and I am ok with that little code duplication) and b) not used that often imho.

quolpr commented 2 months ago

@flunderpero I was going to ask you to add info about how you are going to use is_enabled for vitest/playwright so others can use, and you already did it. Thank you so much!

And the solution is neat, I like that it is exposing through adapter