tests: expect / to be html
This commit is contained in:
parent
abda1b10ef
commit
8a8995cf2d
|
@ -20,6 +20,6 @@ describe('AppController (e2e)', () => {
|
||||||
return request(app.getHttpServer())
|
return request(app.getHttpServer())
|
||||||
.get('/')
|
.get('/')
|
||||||
.expect(200)
|
.expect(200)
|
||||||
.expect(res => res.headers['Content-Type'] == 'text/html');
|
.expect((res) => res.headers['Content-Type'] == 'text/html');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue