From 2a419ffcf089b9ff88567331f0607514d0f7ac2c Mon Sep 17 00:00:00 2001 From: lucaronin Date: Fri, 20 Mar 2026 19:38:51 +0100 Subject: [PATCH] fix: remove incorrect wikilink assertion from snippet smoke test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wikilinks ([[note name]]) are valid content in note snippets — they are plain-text references, not raw markdown formatting. The test was failing against demo-vault data containing wikilinks in renamed-title-xyz.md. Co-Authored-By: Claude Opus 4.6 (1M context) --- tests/smoke/note-list-preview-snippet.spec.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/smoke/note-list-preview-snippet.spec.ts b/tests/smoke/note-list-preview-snippet.spec.ts index 529d8579..6e1ba609 100644 --- a/tests/smoke/note-list-preview-snippet.spec.ts +++ b/tests/smoke/note-list-preview-snippet.spec.ts @@ -18,7 +18,6 @@ test.describe('Note list preview snippet', () => { if (text && text.length > 10) { expect(text).not.toMatch(/\*\*[^*]+\*\*/) expect(text).not.toContain('```') - expect(text).not.toMatch(/\[\[.*\]\]/) } } })