Update the README and fix some typos (#199)

* Updated the readme with the additional targets and fixed some typos

* fix spacing with macos-11

* fix more typos
This commit is contained in:
James Prendergast
2021-12-24 15:15:49 +00:00
committed by GitHub
parent cc46524d3f
commit d15e7110de
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -83,7 +83,7 @@ export async function launchEmulator(
}
/**
* Kills the running emulator on the defaut port.
* Kills the running emulator on the default port.
*/
export async function killEmulator(): Promise<void> {
try {
@@ -100,7 +100,7 @@ async function waitForDevice(): Promise<void> {
let booted = false;
let attempts = 0;
const retryInterval = 2; // retry every 2 seconds
const maxAttemps = EMULATOR_BOOT_TIMEOUT_SECONDS / 2;
const maxAttempts = EMULATOR_BOOT_TIMEOUT_SECONDS / 2;
while (!booted) {
try {
let result = '';
@@ -120,7 +120,7 @@ async function waitForDevice(): Promise<void> {
console.warn(error.message);
}
if (attempts < maxAttemps) {
if (attempts < maxAttempts) {
await delay(retryInterval * 1000);
} else {
throw new Error(`Timeout waiting for emulator to boot.`);