From 3be5265a61f206f1d5c94c0456a87d3ac2daa615 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 13 Oct 2026 11:50:00 +0200 Subject: [PATCH] Give the reader's length-refusal test a timeout past Bun's default --- src/markdown/parse/markdown-to-adf.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/markdown/parse/markdown-to-adf.test.ts b/src/markdown/parse/markdown-to-adf.test.ts index ad1e2d9..c3580cc 100644 --- a/src/markdown/parse/markdown-to-adf.test.ts +++ b/src/markdown/parse/markdown-to-adf.test.ts @@ -341,8 +341,8 @@ test('refuses the directive form of a blockquote opening with a code span', () = assert.equal(content(losslessMarkdownToAdf('!adf:blockquote\n` `` `\n!adf:/blockquote\n')), 'unsupported-node-shape: blockquote takes the CommonMark spelling, not the directive form') }) -// Some 1000 characters short of V8's longest string, which the quote's `> ` on each of its 600 lines passes. -test('refuses a blockquote directive whose CommonMark spelling would pass V8\'s longest string', () => { +// Some 1000 characters short of V8's longest string, which the quote's `> ` on each of its 600 lines passes; reading that much outlasts Bun's 5 s default timeout. +test('refuses a blockquote directive whose CommonMark spelling would pass V8\'s longest string', { timeout: 120_000 }, () => { const fence = `\`\`\`\n${`${'a'.repeat(894_782)}\n`.repeat(300)}\`\`\`\n` assert.equal( content(losslessMarkdownToAdf(`!adf:blockquote\n${fence}\n${fence}!adf:/blockquote\n`)),