test(wechat): align morning draft assertion with compact read-original link

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-11 12:35:16 +08:00
parent d8eaef3fbd
commit e7df15e046
+1 -1
View File
@@ -90,7 +90,7 @@ test('convertNewsPageHtmlToWechatArticle converts daily-news to inline html', ()
assert.equal(article.contentMode, 'inline_html');
assert.match(article.content, /每日新闻早报/u);
assert.match(article.content, /示例热点/u);
assert.match(article.content, /点击阅读原文/u);
assert.match(article.content, /阅读原文/u);
assert.match(article.content, /一起创作/u);
assert.match(article.content, /点我/u);
assert.doesNotMatch(article.content, /近7天新闻早报/u);