Technical requirementsCreating a new SvelteKit projectInstalling and running PlaywrightRunning VitestPreparing your development environment for frequent unit testingChoosing your editorCreating a shell aliasChanging the test runner to report each test nameWatching the test failConfiguring support for Svelte component testsInstalling jsdom and testing library helpersWriting a test for the DOMWriting a first Svelte component testEnsuring the DOM is cleared after each test runRestoring mocks automaticallyOptional configurationConfiguring Prettier’s print widthReducing the tab width in the TerminalSummary