mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
feat: remove unused code, add 2 tests
This commit is contained in:
@@ -560,6 +560,15 @@ describe('Controllers', function () {
|
||||
});
|
||||
});
|
||||
|
||||
it('should load client.css', function (done) {
|
||||
request(nconf.get('url') + '/assets/client.css', function (err, res, body) {
|
||||
assert.ifError(err);
|
||||
assert.equal(res.statusCode, 200);
|
||||
assert(body);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
it('should load admin.css', function (done) {
|
||||
request(nconf.get('url') + '/assets/admin.css', function (err, res, body) {
|
||||
assert.ifError(err);
|
||||
|
||||
Reference in New Issue
Block a user