Fix speech controller test after microphone priming
Build and publish frontend / publish (push) Successful in 42s
Build and publish frontend / publish (push) Successful in 42s
This commit is contained in:
@@ -228,7 +228,7 @@ test('TTS and microphone are mutually exclusive', () => {
|
|||||||
h.controller.speak('Svar');
|
h.controller.speak('Svar');
|
||||||
assert.equal(h.recognitions[0].aborted, true);
|
assert.equal(h.recognitions[0].aborted, true);
|
||||||
assert.equal(h.controller.getState(), 'QUEUED');
|
assert.equal(h.controller.getState(), 'QUEUED');
|
||||||
h.utterances[0].onstart();
|
h.utterances.at(-1).onstart();
|
||||||
assert.equal(h.controller.getState(), 'SPEAKING');
|
assert.equal(h.controller.getState(), 'SPEAKING');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user