Skip to content

Commit 1a751ce

Browse files
committed
test(nested-scroll): fix test
1 parent 1230824 commit 1a751ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/nested-scroll/src/__tests__/index.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,10 @@ describe('NestedScroll tests', () => {
231231
hasVerticalScroll: false,
232232
hasHorizontalScroll: true,
233233
})
234+
addProperties(grandsonScrollH, {
235+
hasVerticalScroll: false,
236+
hasHorizontalScroll: true,
237+
})
234238
grandsonScrollH.trigger(grandsonScrollH.eventTypes.beforeScrollStart)
235239

236240
expect(parentScrollH.disable).toBeCalled()

0 commit comments

Comments
 (0)