test(etapi): port attachment content

This commit is contained in:
Elian Doran
2025-06-03 08:54:52 +03:00
parent d75e86789d
commit dddbb9d4d1
5 changed files with 66 additions and 88 deletions

View File

@@ -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;
}