holdenrehg / portfolio

Personal Portfolio
2 stars 0 forks source link

`uvu` Unit test aliases #6

Open holdenrehg opened 2 years ago

holdenrehg commented 2 years ago

I'm not sure how to configure the SvelteKit aliases so that they are accessible from the tests. Mainly $lib. This is blocking me from writing unit tests.

holdenrehg commented 2 years ago

Posted in /r/sveltejs to see if anyone has run into something similar.

https://www.reddit.com/r/sveltejs/comments/pyvd0m/testing_aliases_with_sveltekit/