Add turbo:extendedHtml to item (#8)

This commit is contained in:
Dmitriy authored and GitHub committed 2021-11-03 19:50:58 +03:00
1 parent ba8fe7ed26
commit 5c8fbfaa40
3 files changed
+15 -1

No files matched your search

+12 -1
View File
@@ -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());
});