Skip to content
loading...

re: Testing Svelte stores and mocking dependencies VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Would I then import the JSDOM into svelte.js? helpers don't seem to be ES6 compatible so this is causing me some syntax errors.

Oh, of course. I should have thought of that. You’ll need to take that one function, create a new file with just that, and convert import -> require. I can try it myself tomorrow

code of conduct - report abuse