mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
test(etapi): port attachment content
This commit is contained in:
@@ -27,7 +27,7 @@ export async function createNote(app: Application, token: string, content?: stri
|
||||
})
|
||||
.expect(201);
|
||||
|
||||
const noteId = response.body.note.noteId;
|
||||
const noteId = response.body.note.noteId as string;
|
||||
expect(noteId).toStrictEqual(noteId);
|
||||
return noteId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user