build test

v1.18.x
barisusakli 8 years ago
parent 1012368acd
commit e3a2e13438

@ -88,7 +88,7 @@ exports.buildTargets = function (targets, callback) {
startTime = Date.now();
meta.templates.compile(step.bind(this, startTime, target, next));
break;
case 'lang':
winston.info('[build] Building language files');
startTime = Date.now();

@ -0,0 +1,16 @@
'use strict';
var assert = require('assert');
var db = require('./mocks/databasemock');
describe('Build', function () {
it('should build all assets', function (done) {
var build = require('../src/meta/build');
build.buildAll(function (err) {
assert.ifError(err);
done();
});
});
});
Loading…
Cancel
Save