tests: expect / to be html

This commit is contained in:
b1ek 2024-07-27 21:16:01 +10:00
parent abda1b10ef
commit 8a8995cf2d
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,6 @@ describe('AppController (e2e)', () => {
return request(app.getHttpServer())
.get('/')
.expect(200)
.expect(res => res.headers['Content-Type'] == 'text/html');
.expect((res) => res.headers['Content-Type'] == 'text/html');
});
});