Keep screen reader voice mode test explicit
Build and publish frontend / publish (push) Successful in 38s
Build and publish frontend / publish (push) Successful in 38s
This commit is contained in:
@@ -153,6 +153,7 @@ test('TTS and microphone are mutually exclusive', () => {
|
|||||||
|
|
||||||
test('speech is disabled in screen-reader mode and gracefully degrades without synthesis', () => {
|
test('speech is disabled in screen-reader mode and gracefully degrades without synthesis', () => {
|
||||||
const screenReader = makeHarness();
|
const screenReader = makeHarness();
|
||||||
|
screenReader.controller.update({mode: 'screen-reader'});
|
||||||
assert.equal(screenReader.controller.speak('dialog'), false);
|
assert.equal(screenReader.controller.speak('dialog'), false);
|
||||||
const noTts = makeHarness({tts: false});
|
const noTts = makeHarness({tts: false});
|
||||||
noTts.controller.update({mode: 'game-voice'});
|
noTts.controller.update({mode: 'game-voice'});
|
||||||
|
|||||||
Reference in New Issue
Block a user