We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3310a1c commit 1c91686Copy full SHA for 1c91686
3 files changed
gulpfile.js
@@ -24,7 +24,10 @@ const mocha = lazypipe()
24
timeout: 120000,
25
globals: {
26
should: require('should')
27
- }
+ },
28
+ require: [
29
+ './mocha.conf'
30
+ ]
31
});
32
33
const transpile = lazypipe()
mocha.conf.js
@@ -0,0 +1,3 @@
1
+'use strict';
2
+
3
+global.DEBUG = !!process.env.DEBUG;
src/test/main.test.js
@@ -26,8 +26,6 @@ const defaultOptions = {
oauth: [],
socketio: true
};
-// var DEBUG = true;
-var DEBUG = false;
const TEST_DIR = __dirname;
function copyAsync(src, dest) {
0 commit comments