vue-testing-best-practices
1.5K
总安装量
1.5K
周安装量
#263
全站排名
安装命令
npx skills add https://github.com/vuejs-ai/skills --skill vue-testing-best-practices
Agent 安装分布
opencode
890
codex
839
claude-code
811
gemini-cli
769
github-copilot
702
cursor
582
Skill 文档
Vue.js testing best practices, patterns, and common gotchas.
Testing
- Setting up test infrastructure for Vue 3 projects â See testing-vitest-recommended-for-vue
- Tests keep breaking when refactoring component internals â See testing-component-blackbox-approach
- Tests fail intermittently with race conditions â See testing-async-await-flushpromises
- Composables using lifecycle hooks or inject fail to test â See testing-composables-helper-wrapper
- Getting “injection Symbol(pinia) not found” errors in tests â See testing-pinia-store-setup
- Components with async setup won’t render in tests â See testing-suspense-async-components
- Snapshot tests keep passing despite broken functionality â See testing-no-snapshot-only
- Choosing end-to-end testing framework for Vue apps â See testing-e2e-playwright-recommended
- Tests need to verify computed styles or real DOM events â See testing-browser-vs-node-runners
- Testing components created with defineAsyncComponent fails â See async-component-testing
- Teleported modal content can’t be found in wrapper queries â See teleport-testing-complexity