So far, we’ve covered Svelte’s different elements as a framework and have steadily been creating our ecommerce front-end project. It’s now time to put it to the test – this is the scary part: does it all work as expected?
If we’ve done our homework correctly, then yes, but I’m sure there will be something there that will trip us up! Over these pages, we will explore how to perform unit testing for Svelte; we’ll understand how to set up a unit testing library specifically for Svelte and begin to test our site’s various elements and features. ...