test(locator): give the Stop test double the seek-generation helper

stopScene now supersedes seeks through _bumpSceneSeekGeneration; the
bhoteKoshiLocator Stop test calls stopScene on a plain object, so it
needs the method too. Without it four tests throw at the PR head.
This commit is contained in:
Said Turksever committed 2026-10-28 14:30:45 +00:00
1 parent b731adea49
commit d57bc0af3c
1 file changed
+2
+2
View File
@@ -728,6 +728,8 @@ for (const phase of ['timer', 'move-end', 'approach', 'orbit']) {
viewer, viewer,
_sceneSeekGeneration: 0, _sceneSeekGeneration: 0,
_loadGeneration: 0, _loadGeneration: 0,
_bumpSceneSeekGeneration:
SceneDirector.prototype._bumpSceneSeekGeneration,
_cancelActiveSceneTravel: _cancelActiveSceneTravel:
SceneDirector.prototype._cancelActiveSceneTravel, SceneDirector.prototype._cancelActiveSceneTravel,
_setSceneMediaPlayback: SceneDirector.prototype._setSceneMediaPlayback, _setSceneMediaPlayback: SceneDirector.prototype._setSceneMediaPlayback,