Skip to content

Commit

Permalink
fix: fix indentation error
Browse files Browse the repository at this point in the history
  • Loading branch information
wswebcreation committed Oct 28, 2020
1 parent 213400c commit b5ba374
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/launcher/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ export function SaucelabsLauncher(args,
const heartbeat = () => {
const driver = connectedDrivers.get(this.id);

pendingHeartBeat = setTimeout( async () => {
if (!driver) {
return
}
pendingHeartBeat = setTimeout(async () => {
if (!driver) {
return
}
try {
await driver.getTitle();
log.debug('Heartbeat to Sauce Labs (%s) - fetching title', browserName)
Expand All @@ -50,9 +50,10 @@ export function SaucelabsLauncher(args,
// Do nothing, just clear the timeout
clearTimeout(pendingHeartBeat)
}
}
return;
}, 60000);
return;
},
60000,
);
}

// Listen for the start event from Karma. I know, the API is a bit different to how you
Expand Down

0 comments on commit b5ba374

Please sign in to comment.