mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-11 01:11:36 +00: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
3c711e8cb8
commit
a61127dbd6
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