mirror of
https://github.com/zadam/trilium.git
synced 2026-07-07 16:33:16 +02:00
Revert "feat(etapi): resolve suggestions for norms from gemini"
This reverts commit 0650be664d.
This commit is contained in:
@@ -42,8 +42,8 @@ describe("etapi/note-history", () => {
|
||||
expect(entry).toHaveProperty("title");
|
||||
expect(entry).toHaveProperty("utcDate");
|
||||
expect(entry).toHaveProperty("date");
|
||||
expect(entry).toHaveProperty("currentIsDeleted");
|
||||
expect(entry).toHaveProperty("currentIsProtected");
|
||||
expect(entry).toHaveProperty("current_isDeleted");
|
||||
expect(entry).toHaveProperty("current_isProtected");
|
||||
});
|
||||
|
||||
it("filters history by ancestor note", async () => {
|
||||
@@ -83,7 +83,7 @@ describe("etapi/note-history", () => {
|
||||
.expect(200);
|
||||
|
||||
const deletedEntry = response.body.find(
|
||||
(entry: any) => entry.noteId === noteToDeleteId && entry.currentIsDeleted === true
|
||||
(entry: any) => entry.noteId === noteToDeleteId && entry.current_isDeleted === true
|
||||
);
|
||||
|
||||
// Deleted entries should have canBeUndeleted property
|
||||
|
||||
Reference in New Issue
Block a user