mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
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:
1 parent
b731adea49
commit
d57bc0af3c
1 file changed
+2
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user