Skip to content
/ jest Public
forked from jestjs/jest

Commit

Permalink
Tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Sep 30, 2017
1 parent 617562d commit 484c26d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@

'use strict';

test('requestAnimationFrame test', () => {
expect(true).toBe(true);
test('requestAnimationFrame test', done => {
expect.hasAssertions();

requestAnimationFrame(() => {
throw new Error('Scheduled Error');
expect(true).toBe(true);

done();
});
});

0 comments on commit 484c26d

Please sign in to comment.