Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sbachinin committed Aug 28, 2024
1 parent be80109 commit d968e38
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/navigation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,13 @@ test(`returns stub values if getNavigationState is called after elements were re

const { wrapper, bracket: br } = init(finished_ucl)
wrapper.remove()
expect(br.getNavigationState()).toEqual({ lastRoundIsFullyVisible: false, allRoundsAreVisible: false, baseRoundIndex: 0 })
expect(br.getNavigationState()).toEqual({
lastRoundIsFullyVisible: false,
allRoundsAreVisible: false,
baseRoundIndex: 0 ,
maxBaseRoundIndex: 4,
visibleRoundsCount: 0
})
})


Expand Down

0 comments on commit d968e38

Please # to comment.