Skip to content

Node.js based forum software built for the modern web

build all targets before test

barisusakli5c217e873e6a
diff --git a/test/mocks/databasemock.js b/test/mocks/databasemock.js
index 67d896b255..6d684855b2 100644
--- a/test/mocks/databasemock.js
+++ b/test/mocks/databasemock.js
@@ -143,7 +143,7 @@
nconf.set('theme_config', path.join(nconf.get('themes_path'), 'nodebb-theme-persona', 'theme.json'));
nconf.set('bcrypt_rounds', 1);
- require('../../build').buildTargets(['js', 'clientCSS', 'acpCSS', 'tpl'], next);
+ require('../../build').buildAll(next);
},
function (next) {
var webserver = require('../../src/webserver');