svelte-add-jest
svelte-add-jest copied to clipboard
SvelteKit adder for Jest unit testing
there's probably more cleanup that should be done here, but this would be needed to make the adder work with SvelteKit 1.0+
The primary discussion on Vite: https://github.com/vitejs/vite/issues/1955. Based on https://github.com/vitejs/vite/issues/1955#issuecomment-862447863, the community seems to have settled around [`vite-jest`](https://github.com/sodatea/vite-jest), available on NPM [npmjs.com/package/vite-jest](https://www.npmjs.com/package/vite-jest). @rossyman - I'm thinking this might be the move,...
There's a wider ongoing discussion around compatibility with Sveltekit runtime modules outside of a build context, i.e.: when testing. This issue leads on from #14, which was initially intended to...