|
|
|
@ -359,8 +359,8 @@ describe('Controllers', function () {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
it('should load /manifest.json', function (done) {
|
|
|
|
|
request(nconf.get('url') + '/manifest.json', function (err, res, body) {
|
|
|
|
|
it('should load /manifest.webmanifest', function (done) {
|
|
|
|
|
request(nconf.get('url') + '/manifest.webmanifest', function (err, res, body) {
|
|
|
|
|
assert.ifError(err);
|
|
|
|
|
assert.equal(res.statusCode, 200);
|
|
|
|
|
assert(body);
|
|
|
|
@ -633,15 +633,6 @@ describe('Controllers', function () {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
it('should load manifest.json', function (done) {
|
|
|
|
|
request(nconf.get('url') + '/manifest.json', function (err, res, body) {
|
|
|
|
|
assert.ifError(err);
|
|
|
|
|
assert.equal(res.statusCode, 200);
|
|
|
|
|
assert(body);
|
|
|
|
|
done();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
it('should load theme screenshot', function (done) {
|
|
|
|
|
request(nconf.get('url') + '/css/previews/nodebb-theme-persona', function (err, res, body) {
|
|
|
|
|
assert.ifError(err);
|
|
|
|
|