docs(dev): integrate architecture guide

This commit is contained in:
Elian Doran
2025-11-04 17:24:38 +02:00
parent 58ac325634
commit 7369f9d532
14 changed files with 392 additions and 315 deletions

View File

@@ -1,6 +1,15 @@
# End-to-end tests
* This tests both the client and the server, by running the server and then using Playwright to query the state of the page.
* These can be found in `apps/server-e2e` and `apps/desktop/e2e`.
**Server E2E:**
* Tests the entire ETAPI.
* Tests WebSocket functionality
**Desktop E2E:**
* Playwright with Electron
* Tests some basic functionality such as creating a new document.
These can be found in `apps/server-e2e` and `apps/desktop/e2e`.
## First-time run

View File

@@ -0,0 +1,7 @@
# Unit tests
At project level:
* `pnpm server:test`
* `pnpm client:test`
Unit tests are stored in the same directory as the source code being tested, with the `.spec.ts` suffix.