Channel
Interviewed Person
Rich Harris
Rich Harris talks us through some new features in SvelteKit and what's coming next.

Svelte Society
Interviewed: Rich Harris
So I'm gonna just create a little demo repo to show off the integrated testing that we now have. If I do NPM init and it's felt at next my demo app. Keep the fire going there. Can people see that? Yeah. Create a skeleton project. We will use
If I do npm test, it will run some tests.
And what that looks like here is. Yes, I trust the authors. In here we have a test JS file that was created for us that just has a single simple test. And what it's doing is it is opening a browser. It is navigating to slash on our development server. Actually, it's building the app first and then it's running the production version of the app locally.
And it's basically just like running a full browser,
and then in case anyone hasn't actually seen what the skeleton app looks like, this is this is all it is.
And it's got a lot of stuff that has been added to SvelteKit in the last few weeks.
So we've added an additional slash photos route and a little bit of.
So you can see that your Svelte component, which defines the page, will have a load function.