Skip to main content

writing-unit-tests

Use when writing, extending, or debugging Vitest unit tests anywhere in the Trilium monorepo — Preact components, jQuery widgets, client services, or the server/trilium-core backend. Covers how to render components (zero new deps), the easy-froca/becca fixtures, supertest API patterns, the honest coverage config, running a single test, and the known gotchas.

Jump to install

Source facts

Repository
TriliumNext/Trilium
Last source activity
August 9, 2026 at 14:10
Detected SKILL.md language
English
Stars
37,443
Forks
2,509

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.