You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nodebb/test/build.js

25 lines
436 B
JavaScript

'use strict';
var assert = require('assert');
var db = require('./mocks/databasemock');
describe('Build', function () {
before(function (done) {
db.setupMockDefaults(done);
});
it('should build all assets', function (done) {
this.timeout(50000);
var build = require('../src/meta/build');
build.buildAll(function (err) {
assert.ifError(err);
done();
});
});
after(function (done) {
db.emptydb(done);
});
});