Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
FulcrumOne committed Nov 15, 2024
1 parent 2b96b4b commit 52498b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Tests+ViewModel+PopupVerticalStack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,9 @@ private extension PopupVerticalStackViewModelTests {
func appendPopupsAndCheckGestureTranslationOnChange(viewModel: ViewModel, popups: [AnyPopup], gestureValue: CGFloat, expectedValues: (popupHeight: CGFloat, gestureTranslation: CGFloat)) async {
await viewModel.updatePopups(popups)
await updatePopups(viewModel)
await waitForResults()
await viewModel.onPopupDragGestureChanged(gestureValue)
await waitForResults()

XCTAssertEqual(viewModel.activePopupProperties.height, expectedValues.popupHeight)
XCTAssertEqual(viewModel.activePopupProperties.gestureTranslation, expectedValues.gestureTranslation)
Expand Down

0 comments on commit 52498b3

Please sign in to comment.