We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a36b5 commit eb06757Copy full SHA for eb06757
test/setup.js
@@ -6,3 +6,10 @@ before(function flushRedis(cb) {
6
var client = redis.createClient();
7
client.flushdb(cb);
8
});
9
+
10
11
+before(function removeLogging() {
12
+ // Disable logging while testing
13
+ var log = require('../lib/index.js').log;
14
+ log.info = log.warn = log.error = function() {};
15
+});
0 commit comments