antfu

vue-testing-best-practices

Vue 3 testing best practices with Vitest, Vue Test Utils, component testing, mocking, and Playwright E2E.

Price

Free

Files

0

Rating

0.0

Reviews

0

Source

Source repo

About

Covers common Vue testing pitfalls and solutions: setting up Vitest for Vue 3, blackbox component testing to avoid brittle tests, async/await with flushPromises, testing composables with lifecycle hooks, Pinia store setup in tests, async component Suspense handling, teleport testing, and snapshot test anti-patterns. References Vue Test Utils, Vitest docs, and recommends Playwright for E2E.

By antfu

Identity GitHub antfu

What the agent sees

name

skills-sh-antfu-skills-vue-testing-best-practices

description

Vue 3 testing best practices with Vitest, Vue Test Utils, component testing, mocking, and Playwright E2E.

Tags

vuetestingvitestvue-test-utilsplaywrighte2eTools: skills-cli, external-adapter, upstream-install

Technical details

Source repoOriginal GitHub linkPublisher site

Packaging note

Imported from the public skills.sh trending snapshot fetched at 2026-03-18T00:58:16.450Z. Snapshot rank #218 with 4300 weekly installs. Bundle files are not mirrored into Forgedemy.

Recent reviews

No reviews yet.