The elapsed time in milliseconds can be 0 (less than 1 ms)

This commit is contained in:
Raymond Feng 2014-10-27 15:22:17 -07:00
parent e2e0a62aad
commit 67f8b37562
1 changed files with 1 additions and 1 deletions

View File

@ -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);