Skip to content

Commit

Permalink
Correct spelling of "VoiceOver" (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglinmike authored May 20, 2024
1 parent 68620df commit 90643ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/agent/driver-test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class DriverTestRunner {
},
});
}
} else if (atName == 'Voiceover') {
} else if (atName == 'VoiceOver') {
if (settings !== 'defaultMode') {
throw new Error(`Unrecognized setting for VoiceOver: ${settings}`);
}
Expand All @@ -141,6 +141,8 @@ export class DriverTestRunner {
if (atName === 'NVDA') {
await this.ensureSettings(mode.toLowerCase() === 'reading' ? 'browseMode' : 'focusMode');
return;
} else if (atName === 'VoiceOver') {
return;
} else if (!atName) {
return;
}
Expand Down

0 comments on commit 90643ed

Please sign in to comment.