fixup! diigo-cache: RSS in diigo's export shape, from cached items
A diigo note item's body (note_content) renders first, as a Highlight: line, as the export does: the 6 "export has notes, cache none" items from the comparison were notes whose bodies the cache had all along. Generated-by: Claude Opus 5.5
This commit is contained in:
1 parent
81f91a6747
commit
cbde0dfbd3
2 files changed
+10
-2
No files matched your search
@@ -21,6 +21,12 @@ describe("itemDescription", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("renders a note item's body as a Highlight line, as diigo's export does", () => {
|
||||
expect(itemDescription({ type_name: "note", tags: "", description: "", note_content: "the note", annotations: [] })).toBe(
|
||||
"Tags:no_tag;Description:;Annotations and Sticky notes:Highlight:the note\n",
|
||||
);
|
||||
});
|
||||
|
||||
it("says no_tag when there are no tags, and leaves empty parts empty", () => {
|
||||
expect(itemDescription({ tags: "", description: "", annotations: [] })).toBe(
|
||||
"Tags:no_tag;Description:;Annotations and Sticky notes:",
|
||||
|
||||
Reference in new issue
Block a user