Skip to content

Commit

Permalink
#1092@trivial: Adds test for PointerEvent.
Browse files Browse the repository at this point in the history
  • Loading branch information
capricorn86 committed Sep 30, 2023
1 parent cad98a9 commit 04b2fcc
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ describe('HTMLElement', () => {
expect((<PointerEvent>(<unknown>triggeredEvent)).composed).toBe(true);
expect((<PointerEvent>(<unknown>triggeredEvent)).target === element).toBe(true);
expect((<PointerEvent>(<unknown>triggeredEvent)).currentTarget === element).toBe(true);
expect((<PointerEvent>(<unknown>triggeredEvent)).width).toBe(1);
expect((<PointerEvent>(<unknown>triggeredEvent)).height).toBe(1);
});
});

Expand Down

0 comments on commit 04b2fcc

Please sign in to comment.