возможно исправил ошибку таймера с vMix

This commit is contained in:
2026-08-24 15:34:58 +03:00
parent 7d934a6ee6
commit 0ef8378dd1
7 changed files with 184 additions and 47 deletions

View File

@@ -106,7 +106,8 @@ def test_shortcut_editor_layout_fixes_add_step_buttons_and_fullscreen_modal() ->
def test_hockey_timer_shortcut_supports_native_countdown_and_legacy_text_mirror() -> None:
app_js = Path("ui_builder/static/app.js").read_text(encoding="utf-8")
assert 'Function: "SuspendCountdown"' in app_js
assert 'Function: "StopCountdown"' in app_js
assert 'Function: "SuspendCountdown"' not in app_js
assert 'Function: "StopCountdown"' in app_js
assert 'hockey_timer_command' in app_js
assert 'game_vmix_mode' in app_js
@@ -252,7 +253,8 @@ def test_build90_native_countdown_avoids_per_second_transport() -> None:
app_js = Path("ui_builder/static/app.js").read_text(encoding="utf-8")
assert 'game_vmix_mode !== "countdown"' in app_js
assert 'const countdownMode = step.penalty_vmix_mode === "countdown"' in app_js
assert 'Function: "SuspendCountdown"' in app_js
assert 'Function: "StopCountdown"' in app_js
assert 'Function: "SuspendCountdown"' not in app_js
assert 'Function: "StopCountdown"' in app_js
assert 'signal: controller.signal' in app_js
assert 'vmixCommandQueue: Promise.resolve()' in app_js