make test more specific

This commit is contained in:
Konstantin Pogorelov
2018-01-23 16:58:49 +01:00
parent e4d6113ff2
commit 4ee269faee

View File

@@ -267,7 +267,7 @@ describe('index', () => {
.get('/metrics')
.end((err, res) => {
expect(res.status).toBe(200);
expect(res.text).not.toMatch(/200/);
expect(res.text).not.toMatch(/="200"/);
done();
});
});