Commit Graph

6 Commits

Author SHA1 Message Date
Test
cfa07a82cc test: stabilize smoke lane and timer-heavy tests 2026-04-08 10:22:47 +02:00
Test
6b1a44cdfd test: stabilize the pre-push smoke lane 2026-04-08 10:01:34 +02:00
Test
c2366f2a3e test: stabilize the smoke lane 2026-04-08 09:50:14 +02:00
Test
10024dbf53 test: slim the pre-push smoke lane 2026-04-07 19:22:11 +02:00
Test
b467fd8446 fix: remove H1 heading from new note editor body
Title is already shown as a separate UI element above the editor,
so the H1 in the body was a visual duplicate. New notes now have
an empty editor body. Daily notes and type entries also no longer
get an H1 inserted.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 18:29:02 +02:00
Test
13622bc236 test: add real filesystem vault integration tests
Replace mock vault approach with real filesystem I/O for integration
tests. Each test copies tests/fixtures/test-vault/ to a temp directory,
overrides mock handlers to point at it, and verifies actual file
operations through the vite dev server middleware.

Tests cover: vault loading, archive/trash filtering, note creation,
rename with filesystem update, wikilink cascade on rename, relationship
display, and real file content loading.

Also extends vite.config.ts vault API middleware with write endpoints
(save, rename, delete, search, entry) and fixes getBool to handle
YAML 1.2 string values like "Yes"/"yes" (js-yaml 4.x compatibility).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 21:24:44 +01:00