Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 6, 2022
1 parent c3f9567 commit a64fcca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/useWindowSize/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('useWindowSize', () => {
})

it('sets handler for window "resize" event', async () => {
useWindowSize({ initialWidth: 100, initialHeight: 200 })
useWindowSize({ initialWidth: 100, initialHeight: 200, listenOrientation: false })

await nextTick()

Expand All @@ -36,7 +36,7 @@ describe('useWindowSize', () => {
})

it('sets handler for window "orientationchange" event', async () => {
useWindowSize({ initialWidth: 100, initialHeight: 200, listenOrientation: true })
useWindowSize({ initialWidth: 100, initialHeight: 200 })

await nextTick()

Expand Down

0 comments on commit a64fcca

Please sign in to comment.