mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 18:22:25 +00:00
Format the keyless Gemini voice tests (#1660)
This commit is contained in:
1 parent
0118e17ea6
commit
fdbff75e1e
2 files changed
+19
-6
No files matched your search
@@ -884,9 +884,16 @@ test('a missing-key error hides the microphone hint; other errors keep it', asyn
|
||||
detail: 'Add a Gemini API key in Provider Settings',
|
||||
missingKey: true,
|
||||
});
|
||||
assert.equal(ui.state.error.text, 'Add a Gemini API key in Provider Settings');
|
||||
assert.equal(
|
||||
ui.state.error.text,
|
||||
'Add a Gemini API key in Provider Settings',
|
||||
);
|
||||
assert.equal(ui.state.error.hint, false);
|
||||
instance.hooks.emit({ type: 'state', state: 'error', detail: 'Socket closed' });
|
||||
instance.hooks.emit({
|
||||
type: 'state',
|
||||
state: 'error',
|
||||
detail: 'Socket closed',
|
||||
});
|
||||
assert.equal(ui.state.error.text, 'Socket closed');
|
||||
assert.equal(ui.state.error.hint, true);
|
||||
});
|
||||
Reference in new issue
Block a user