more logging

This commit is contained in:
Jesse Hallam 2023-10-24 14:51:25 -03:00
parent dd96e365c9
commit 0bc513fd92
No known key found for this signature in database
GPG key ID: E7959EB6518AF966

View file

@ -15,7 +15,7 @@ export const checkMetrics = (expectedStatusCode) => {
failOnStatusCode: false,
}).then((response) => {
expect(response.headers['Content-Type'], 'should not hit webapp').not.to.equal('text/html');
expect(response.status, 'should match expected status code').to.equal(expectedStatusCode);
expect(response.status, `should match expected status code hitting ${baseURL.toString()}`).to.equal(expectedStatusCode);
});
});
};