vue-testing-best-practices
A copy, kept in the AIRI repository, of a Vue.js testing skill whose frontmatter names the vuejs-ai organisation as author.
スキルの内容
A copy, kept in the AIRI repository, of a Vue.js testing skill whose frontmatter names the vuejs-ai organisation as author. It is an index that sends the agent to short reference files for specific problems: setting up Vitest for a Vue 3 project, testing components from the outside so tests survive refactors, intermittent failures from async timing, components with async setup or defineAsyncComponent, composables that need lifecycle hooks or inject, Pinia stores that fail with a missing injection error, snapshot-only tests that pass while features break, content rendered through Teleport, choosing a browser or Node runner, and Playwright for end-to-end tests. It links Vue, Vue Test Utils, Vitest and Playwright documentation.
できること
- Set up Vitest for Vue 3 projects
- Test components, composables and Pinia stores
- Fix flaky async component tests
- Choose Playwright for end-to-end tests
概要
- 公開元
- Moeru AI
- ツール
- テスト
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- LICENSE.md
- SYNC.md
- reference/async-component-testing.md
- reference/teleport-testing-complexity.md
- reference/testing-async-await-flushpromises.md
- reference/testing-browser-vs-node-runners.md
- reference/testing-component-blackbox-approach.md
- reference/testing-composables-helper-wrapper.md
- reference/testing-e2e-playwright-recommended.md
- reference/testing-no-snapshot-only.md
- reference/testing-pinia-store-setup.md
- reference/testing-suspense-async-components.md
- reference/testing-vitest-recommended-for-vue.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/moeru-ai/airi2026年11月10日
- リポジトリ内のファイル(SYNC.md)github.com/moeru-ai/airi2026年11月16日
- ライセンスファイル(LICENSE.md)github.com/moeru-ai/airi · 根拠となる項目:ライセンス2026年11月16日
- GitHubリポジトリgithub.com/moeru-ai/airi · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月13日
- GitHub APIのレコードgithub.com/moeru-ai/airi · 根拠となる項目:スクリプトを含む2026年11月16日
- リポジトリ内のフォルダ(vue-testing-best-practices)github.com/moeru-ai/airi · 根拠となる項目:スクリプトを含む2026年11月10日