Skip to content

Commit cc4d641

Browse files
committed
CB-12493 (Tests) Fixed spec.21 flakyness
1 parent 112ef96 commit cc4d641

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/tests.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ exports.defineAutoTests = function () {
312312
}
313313

314314
media.getCurrentPosition(function (position) {
315-
expect(position).toBeCloseTo(20, 0);
315+
expect(position).toBeGreaterThan(19);
316+
expect(position).toBeLessThan(21);
316317
context.done = true;
317318
done();
318319
}, failed.bind(null, done, 'media1.getCurrentPosition - Error getting media current position', context));

0 commit comments

Comments
 (0)