Further compensate for clock jitter

This commit is contained in:
Steve Gravrock
2021-04-14 20:25:48 -07:00
parent 97a46f4560
commit c2f04ba627

View File

@@ -683,8 +683,8 @@ describe('Env integration', function() {
});
env.execute(null, function() {
// Expect >= 9 rather than >= 10 to compensate for clock imprecision
expect(duration).toBeGreaterThanOrEqual(9);
// Expect > 0 to compensate for clock imprecision
expect(duration).toBeGreaterThan(0);
done();
});
});