mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-02-04 12:06:20 +00:00
Add turbo:extendedHtml to item (#8)
This commit is contained in:
@@ -199,4 +199,15 @@ test('breadcrumbs', function (t) {
|
||||
});
|
||||
|
||||
t.equal(feed.xml(), expectedOutput.breadcrumbs.trim());
|
||||
});
|
||||
});
|
||||
|
||||
test('item extendedHtml', function (t) {
|
||||
t.plan(1);
|
||||
const feed = new TR(baseOptions);
|
||||
|
||||
feed.item({
|
||||
extendedHtml: true
|
||||
});
|
||||
|
||||
t.equal(feed.xml(), expectedOutput.extendedHtml.trim());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user