Fix status test
This commit is contained in:
parent
c5e7228147
commit
8ec7b712e8
|
@ -405,7 +405,7 @@ describe('app', function() {
|
||||||
|
|
||||||
assert.equal(typeof res.body, 'object');
|
assert.equal(typeof res.body, 'object');
|
||||||
assert(res.body.started);
|
assert(res.body.started);
|
||||||
assert(res.body.uptime);
|
assert.equal(typeof res.body.uptime, 'number');
|
||||||
|
|
||||||
var elapsed = Date.now() - Number(new Date(res.body.started));
|
var elapsed = Date.now() - Number(new Date(res.body.started));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue