mirror of
https://github.com/zadam/trilium.git
synced 2025-12-21 23:59:59 +01:00
test(etapi): variable shadowing causing spurious error
This commit is contained in:
@@ -29,7 +29,7 @@ describe("etapi/patch-note", () => {
|
|||||||
})
|
})
|
||||||
.expect(201);
|
.expect(201);
|
||||||
|
|
||||||
const createdNoteId = response.body.note.noteId as string;
|
createdNoteId = response.body.note.noteId as string;
|
||||||
expect(createdNoteId).toBeTruthy();
|
expect(createdNoteId).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user