Do not log errors in influx tests (#4931)
This commit is contained in:
@@ -122,7 +122,7 @@ describe('Influx metrics', function() {
|
|||||||
|
|
||||||
describe('sendMetrics', function() {
|
describe('sendMetrics', function() {
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
sinon.spy(log, 'error')
|
sinon.stub(log, 'error')
|
||||||
})
|
})
|
||||||
afterEach(function() {
|
afterEach(function() {
|
||||||
log.error.restore()
|
log.error.restore()
|
||||||
|
|||||||
Reference in New Issue
Block a user