Do not log errors in influx tests (#4931)

This commit is contained in:
Marcin Mielnicki
2020-04-22 23:58:11 +02:00
committed by GitHub
parent e66cfa3c21
commit b64987d2dd

View File

@@ -122,7 +122,7 @@ describe('Influx metrics', function() {
describe('sendMetrics', function() {
beforeEach(function() {
sinon.spy(log, 'error')
sinon.stub(log, 'error')
})
afterEach(function() {
log.error.restore()