M17–M19: #133–#137 (Kommentare inline, Statuszeile, Transklusion, Excalidraw, Checkbox-Fix) #138

Merged
fable-5 merged 10 commits from m17-m19-issues into main 2026-07-19 09:38:38 +02:00
Showing only changes of commit 5255cdce06 - Show all commits

View File

@ -277,10 +277,12 @@ describe.skipIf(!hasTestDb)('LinksService.pondGraph (db, issue #111)', () => {
{ from: a, to: secret },
].sort((x, y) => x.to.localeCompare(y.to)),
);
expect(graph.phantoms.map((p) => p.targetSlug).sort()).toEqual([
`ghost-${suffix}`,
`ghost-secret-${suffix}`,
]);
// Sort BOTH sides: phantom order is not guaranteed, and the two slugs share
// the random suffix so their sort order flips on ~1/5 of suffixes (the
// expected array was previously left unsorted — a latent flake).
expect(graph.phantoms.map((p) => p.targetSlug).sort()).toEqual(
[`ghost-${suffix}`, `ghost-secret-${suffix}`].sort(),
);
});
it('slices every collection to the reader — no hidden page leaks anywhere', async () => {