mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-11 05:42:22 +00:00
style(voice): format viewport policy tests
This commit is contained in:
1 parent
5195012c7f
commit
989e740d6e
1 file changed
+7
-4
@@ -10,10 +10,13 @@ const localContext = (overrides = {}) => ({
|
||||
});
|
||||
|
||||
test('viewport context reasons preserve the existing escalation gate', () => {
|
||||
assert.deepEqual(viewportContextDecision({ action: 'get_current_view_state' }), {
|
||||
send: false,
|
||||
reason: 'not-entity-context',
|
||||
});
|
||||
assert.deepEqual(
|
||||
viewportContextDecision({ action: 'get_current_view_state' }),
|
||||
{
|
||||
send: false,
|
||||
reason: 'not-entity-context',
|
||||
},
|
||||
);
|
||||
assert.deepEqual(
|
||||
viewportContextDecision(localContext(), { channelOpen: false }),
|
||||
{ send: false, reason: 'channel-closed' },
|
||||
|
||||
Reference in new issue
Block a user