3 const sinon
= require('sinon');
5 const stubLogger
= process
.env
.VERBOSE_TESTS
? console : {
6 debug: () => undefined,
7 error: () => undefined,
10 stubLogger
['_reset'] = () => {
11 sinon
.spy(stubLogger
, 'debug');
12 sinon
.spy(stubLogger
, 'error');
13 sinon
.spy(stubLogger
, 'info');
17 module
.exports
= stubLogger
;