projects
/
squeep-authentication-module
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add account settings page, rest of otp support, stdio credential helper, other misc
[squeep-authentication-module]
/
test
/
stub-logger.js
diff --git
a/test/stub-logger.js
b/test/stub-logger.js
index d731db37ea2a03c7202c5ba1afb36f1b6c526911..0293fb0bd96b45b37a06c6182b95c247f11579d1 100644
(file)
--- a/
test/stub-logger.js
+++ b/
test/stub-logger.js
@@
-2,11
+2,10
@@
const sinon = require('sinon'); // eslint-disable-line node/no-unpublished-require
const sinon = require('sinon'); // eslint-disable-line node/no-unpublished-require
-const nop = () => { /* */ };
const stubLogger = process.env.VERBOSE_TESTS ? console : {
const stubLogger = process.env.VERBOSE_TESTS ? console : {
- debug:
nop
,
- error:
nop
,
- info:
nop
,
+ debug:
() => undefined
,
+ error:
() => undefined
,
+ info:
() => undefined
,
};
stubLogger['_reset'] = () => {
sinon.spy(stubLogger, 'debug');
};
stubLogger['_reset'] = () => {
sinon.spy(stubLogger, 'debug');