Svelte Component Test Recipes
Svelte component test recipes using Vitest & Testing Library with TypeScript

Search for a command to run...
Articles tagged with #svelte
Svelte component test recipes using Vitest & Testing Library with TypeScript

Hi 馃憢, I'm David Peng. It's been a while since my last blog post. In the last two months, I added 100+ unit/ component/ e2e tests in my Svelte project (yeah, I didn't do TDD because I wasn't familiar with testing enough 馃槄). I experimented with diffe...

In this post, I'll share my journey of building a reusable Svelte component to draw SVG on hover. Begin by trying to reduce boilerplate in my work project and publishing my first npm package. It's great if you've already known below things: Svelte T...

In my previous post: Add Commitint, Commitizen, Standard Version, and Husky to SvelteKit Project, I'd introduced how to add Conventional Commits and SemVer to your SvelteKit Project. We added a pre-commit hook to format and lint our code before commi...

4/19/2022 Updates. I published a second post according to this one: Add lint-staged to SvelteKit Project Recently I spent a lot of time improving our internal SvelteKit project by aligning coding style & repo quality, especially the commit message...

Hi 馃憢! I'm David Peng. In this article, I'll share some helpful Svelte learning resources & packages that I consumed and used in the past few months to migrate a legacy web app in my work. You can check my last article about my journey here 馃憠 Superc...
