mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Format with Prettier 2
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
1ecf5def66
commit
3801b1b042
15 changed files with 36 additions and 94 deletions
|
@ -84,9 +84,7 @@ describe('Notes', () => {
|
|||
|
||||
it(`DELETE /notes/{note}`, async () => {
|
||||
await notesService.createNote('This is a test note.', 'test3');
|
||||
await request(app.getHttpServer())
|
||||
.delete('/notes/test3')
|
||||
.expect(200);
|
||||
await request(app.getHttpServer()).delete('/notes/test3').expect(200);
|
||||
return expect(notesService.getNoteByIdOrAlias('test3')).rejects.toEqual(
|
||||
new NotInDBError("Note with id/alias 'test3' not found."),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue