mirror of
https://github.com/LightAir/turbo-rss.git
synced 2026-11-11 23:07:54 +03:00
Add turbo:extendedHtml to item (#8)
This commit is contained in:
1 parent
ba8fe7ed26
commit
5c8fbfaa40
3 files changed
+15
-1
No files matched your search
+12
-1
@@ -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