DEV Community

loading...

Discussion on: Testing Svelte stores and mocking dependencies

d_ir profile image
Daniel Irvine 🏳️‍🌈 Author

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

Forem Open with the Forem app