From 8a8995cf2d0f9cad54ed8e63cdeca8d995f7ba75 Mon Sep 17 00:00:00 2001 From: b1ek Date: Sat, 27 Jul 2024 21:16:01 +1000 Subject: [PATCH] tests: expect / to be html --- test/app.e2e-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/app.e2e-spec.ts b/test/app.e2e-spec.ts index e50e30e..adebb61 100644 --- a/test/app.e2e-spec.ts +++ b/test/app.e2e-spec.ts @@ -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'); }); });