Skip to content

Commit

Permalink
test(nested-scroll): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
theniceangel committed Jan 24, 2021
1 parent 1230824 commit 1a751ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/nested-scroll/src/__tests__/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ describe('NestedScroll tests', () => {
hasVerticalScroll: false,
hasHorizontalScroll: true,
})
addProperties(grandsonScrollH, {
hasVerticalScroll: false,
hasHorizontalScroll: true,
})
grandsonScrollH.trigger(grandsonScrollH.eventTypes.beforeScrollStart)

expect(parentScrollH.disable).toBeCalled()
Expand Down

0 comments on commit 1a751ce

Please sign in to comment.