docs(agile): properly state nuxt4 in tech-stack.md, define test/unit directory in testing-requirements.md

This commit is contained in:
h
2025-09-03 02:16:10 +03:00
parent fcbae5a4c5
commit bd9775af3f
2 changed files with 8 additions and 8 deletions

View File

@@ -3,5 +3,5 @@
Testing is critical for ensuring the integrity of the system.
* **Unit Tests:** We will use **Vitest** for unit testing. Every composable and service function must have unit tests covering its logic.
* **Component Tests:** We will use **`@vue/test-utils`** to test individual Vue components. Tests should verify that components render correctly based on props and that they emit events when interacted with.
* **Test Location:** All test files will be located alongside the file they are testing, with a `.spec.ts` extension (e.g., `useLedger.spec.ts`).
* **Test Location:** All test files will be located alongside the file they are testing, with a `.spec.ts` extension (e.g., `useLedger.spec.ts`). Server tests will be located in the `test/unit` directory.