mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-10 15:32:31 +02:00
Add rules/vue/testing.md: - Vitest + Vue Test Utils + @pinia/testing stack - Component mounting (mount vs shallowMount), stubs and mocks - Composable testing with effectScope and mountComposable helper - Pinia store testing pattern (setActivePinia + ) - Vue Router testing with createMemoryHistory - Async assertion pitfalls (flushPromises/nextTick) - Testing implementation details vs rendered output - Coverage thresholds: 80%+ for composables/stores, smoke tests for components - Vitest configuration with jsdom environment and v8 coverage |
||
|---|---|---|
| .. | ||
| coding-style.md | ||
| hooks.md | ||
| patterns.md | ||
| security.md | ||
| testing.md | ||