mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 19:53:59 -05:00
Note E2E tests: Use response.body
to get the note content
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
c5842d69e1
commit
b06dc5f967
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ describe('Notes', () => {
|
|||
const response = await request(app.getHttpServer())
|
||||
.get('/notes/test9/content')
|
||||
.expect(200);
|
||||
expect(response.body).toEqual('This is a test note.');
|
||||
expect(response.text).toEqual('This is a test note.');
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
|
|
Loading…
Reference in a new issue