Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Apr 3, 2024
1 parent e4c827e commit 7bb14bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/signature_pad.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ describe('user interactions', () => {
}),
);
// check that original document is not affected
document.dispatchEvent(
window.dispatchEvent(
new PointerEvent('pointerup', {
clientX: 150,
clientY: 120,
Expand Down Expand Up @@ -549,7 +549,7 @@ describe('Signature events.', () => {
buttons: 1,
}),
);
document.dispatchEvent(
window.dispatchEvent(
new PointerEvent('pointerup', {
clientX: 50,
clientY: 40,
Expand Down

0 comments on commit 7bb14bf

Please sign in to comment.