Skip to content

Commit

Permalink
[fix] fix travis fail bug
Browse files Browse the repository at this point in the history
  • Loading branch information
toxic-johann committed Dec 26, 2017
1 parent 9e2b915 commit 1cab1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ test('animationFrame', done => {
const staDate = new Date();
utils.raf(() => {
// 模拟时定时器延迟为17毫秒
expect(new Date() - staDate).toBeGreaterThanOrEqual(17);
expect(new Date() - staDate).toBeGreaterThanOrEqual(16);
done();
});

Expand Down

0 comments on commit 1cab1b5

Please sign in to comment.