-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add unit tests for SmartTV seek behavior
- Added tests in `controls.test.js` to verify UI updates (progress bar & current-time display) - Added tests in `player.test.js` to validate SmartTV seek logic - Ensured `stepForward()` and `stepBack()` correctly update `pendingSeekTime` - Verified `handleAction()` finalizes the seek and resets `pendingSeekTime` - Fixed test for `disableSeekWhileScrubbingOnSTV = false` by recreating `SeekBar` instance
- Loading branch information
Borut Zizmond
committed
Feb 20, 2025
1 parent
ebf0a44
commit 948c275
Showing
2 changed files
with
209 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters