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 authored and GitHub committed 2021-12-25 02:15:49 +11:00
1 parent cc46524d3f
commit d15e7110de
4 files changed
+9 -9

No files matched your search

+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.`);