restored test coverage... lol

This commit is contained in:
Julian Lam
2014-04-16 15:22:39 -04:00
parent 84a34933fe
commit e00f49ae8c
2 changed files with 3 additions and 4 deletions

View File

@@ -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();
}); });
}); });
}); });

View File

@@ -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",