mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 15:52:21 +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', () => {
|
test('viewport context reasons preserve the existing escalation gate', () => {
|
||||||
assert.deepEqual(viewportContextDecision({ action: 'get_current_view_state' }), {
|
assert.deepEqual(
|
||||||
send: false,
|
viewportContextDecision({ action: 'get_current_view_state' }),
|
||||||
reason: 'not-entity-context',
|
{
|
||||||
});
|
send: false,
|
||||||
|
reason: 'not-entity-context',
|
||||||
|
},
|
||||||
|
);
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
viewportContextDecision(localContext(), { channelOpen: false }),
|
viewportContextDecision(localContext(), { channelOpen: false }),
|
||||||
{ send: false, reason: 'channel-closed' },
|
{ send: false, reason: 'channel-closed' },
|
||||||
|
|||||||
Reference in new issue
Block a user