Skip to content

Commit

Permalink
test: fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Nov 21, 2020
1 parent 13d8b99 commit c57f4a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/event.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Vue from 'vue';
import { Wrapper } from '@vue/test-utils';
import { ComponentPublicInstance } from 'vue';
import { VueWrapper } from '@vue/test-utils';

function getTouch(el: HTMLElement | Window, x: number, y: number) {
return {
Expand All @@ -18,7 +18,7 @@ function getTouch(el: HTMLElement | Window, x: number, y: number) {

// Trigger pointer/touch event
export function trigger(
wrapper: Wrapper<Vue> | HTMLElement | Window,
wrapper: VueWrapper<ComponentPublicInstance> | HTMLElement | Window,
eventName: string,
x = 0,
y = 0,
Expand Down

0 comments on commit c57f4a8

Please sign in to comment.