(ws, context = '')
| 177 | } |
| 178 | |
| 179 | function sendTurnState(ws, context = '') { |
| 180 | return sendWs(ws, getTurnStatePayload(), context); |
| 181 | } |
| 182 | |
| 183 | function setTurnState(phase, { sessionId = state.currentSessionId, reason = '', force = false } = {}) { |
| 184 | const normalizedPhase = phase === 'running' ? 'running' : 'idle'; |
no test coverage detected