Update and add tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var testStatic = function(prefix, q, format, status, scale, type) {
|
||||
if (scale) q += '@' + scale + 'x';
|
||||
var path = '/' + prefix + '/static/' + q + '.' + format;
|
||||
var path = '/static/' + prefix + '/' + q + '.' + format;
|
||||
it(path + ' returns ' + status, function(done) {
|
||||
var test = supertest(app).get(path);
|
||||
if (status) test.expect(status);
|
||||
|
||||
Reference in New Issue
Block a user