Skip to content

Commit

Permalink
Remove excess checks in test
Browse files Browse the repository at this point in the history
  • Loading branch information
lekha committed Dec 3, 2020
1 parent 6bfe9f1 commit 6d08ec5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ describe('__getClippingRegion', () => {
ctx.rect(1, 2, 3, 4);
ctx.arc(1, 2, 3, 4, 5);
ctx.clip();
const region = ctx.__getClippingRegion();
ctx.restore();
ctx.save();
expect(region).not.toStrictEqual(ctx.__getClippingRegion());
});
});

0 comments on commit 6d08ec5

Please sign in to comment.