The elapsed time in milliseconds can be 0 (less than 1 ms)
This commit is contained in:
parent
e2e0a62aad
commit
67f8b37562
|
@ -281,7 +281,7 @@ describe('app', function() {
|
|||
var elapsed = Date.now() - Number(new Date(res.body.started));
|
||||
|
||||
// elapsed should be a positive number...
|
||||
assert(elapsed > 0);
|
||||
assert(elapsed >= 0);
|
||||
|
||||
// less than 100 milliseconds
|
||||
assert(elapsed < 100);
|
||||
|
|
Loading…
Reference in New Issue