Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Fixing the test-jsapi test suite, make test-all should pass now

Attila Domokos25fe509e84f8
diff --git a/test/jsapi/index.js b/test/jsapi/index.js
index 16de0b8c..5b5c169a 100644
--- a/test/jsapi/index.js
+++ b/test/jsapi/index.js
@@ -4,7 +4,7 @@ var Mocha = require('../../')
var mocha = new Mocha({
ui: 'bdd',
- globals: ['okGlobalA', 'okGlobalB', 'okGlobalC'],
+ globals: ['okGlobalA', 'okGlobalB', 'okGlobalC', 'callback*'],
// ignoreLeaks: true,
growl: true
});
@@ -28,4 +28,4 @@ mocha.run(function(){
console.log('done');
}).on('pass', function(test){
// console.log('... %s', test.title);
-});
\ No newline at end of file
+});