restored test coverage... lol

v1.18.x
Julian Lam 11 years ago
parent 84a34933fe
commit e00f49ae8c

@ -79,7 +79,7 @@
} }
winston.info('test_database flushed'); winston.info('test_database flushed');
/*
meta.configs.init(function () { meta.configs.init(function () {
nconf.set('url', nconf.get('base_url') + (nconf.get('use_port') ? ':' + nconf.get('port') : '') + nconf.get('relative_path')); nconf.set('url', nconf.get('base_url') + (nconf.get('use_port') ? ':' + nconf.get('port') : '') + nconf.get('relative_path'));
nconf.set('base_templates_path', path.join(nconf.get('themes_path'), 'nodebb-theme-vanilla/templates')); nconf.set('base_templates_path', path.join(nconf.get('themes_path'), 'nodebb-theme-vanilla/templates'));
@ -90,8 +90,7 @@
sockets.init(webserver.server); sockets.init(webserver.server);
done(); done();
});*/ });
done();
}); });
}); });
}); });

@ -12,7 +12,7 @@
"scripts": { "scripts": {
"start": "./nodebb start", "start": "./nodebb start",
"stop": "./nodebb stop", "stop": "./nodebb stop",
"test": "mocha ./tests/database.js -t 1000" "test": "mocha ./tests -t 1000"
}, },
"dependencies": { "dependencies": {
"express": "3.2.0", "express": "3.2.0",

Loading…
Cancel
Save