fix tests
This commit is contained in:
@@ -6,7 +6,7 @@ exports = module.exports = {
|
||||
resumeJobs
|
||||
};
|
||||
|
||||
let apps = require('./apps.js'),
|
||||
const apps = require('./apps.js'),
|
||||
assert = require('assert'),
|
||||
async = require('async'),
|
||||
BoxError = require('./boxerror.js'),
|
||||
@@ -119,6 +119,8 @@ function stopJobs(appId, appState, callback) {
|
||||
}
|
||||
|
||||
function sync() {
|
||||
if (constants.TEST) return;
|
||||
|
||||
apps.getAll(function (error, allApps) {
|
||||
if (error) return debug(`sync: error getting app list. ${error.message}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user