mirror of
https://github.com/zadam/trilium.git
synced 2026-03-18 01:50:26 +01:00
docs(dev): integrate architecture guide
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
7
docs/Developer Guide/Developer Guide/Testing/Unit tests.md
vendored
Normal file
7
docs/Developer Guide/Developer Guide/Testing/Unit tests.md
vendored
Normal 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.
|
||||
Reference in New Issue
Block a user