3 const sinon
= require('sinon'); // eslint-disable-line node/no-unpublished-require
5 const nop
= () => { /* */ };
6 const stubLogger
= process
.env
.VERBOSE_TESTS
? console : {
11 stubLogger
['_reset'] = () => {
12 sinon
.spy(stubLogger
, 'debug');
13 sinon
.spy(stubLogger
, 'error');
14 sinon
.spy(stubLogger
, 'info');
18 module
.exports
= stubLogger
;