test(wechat): align morning draft assertion with compact read-original link
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user