Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
peternhale committed Mar 27, 2024
1 parent f6d9c6a commit b163380
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tests/asyncTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ export class AsyncTests {
await sClient.init();
await sClient.handshake();
let queueItem: ApexTestQueueItem;
let renResult = await this.checkRunStatus(testRunId);
let runResult = await this.checkRunStatus(testRunId);

if (renResult.testsComplete) {
if (runResult.testsComplete) {
queueItem = await sClient.handler(undefined, testRunId);
} else {
queueItem = (await sClient.subscribe(undefined, testRunId)).queueItem;
renResult = await this.checkRunStatus(testRunId);
runResult = await this.checkRunStatus(testRunId);
}

token &&
Expand All @@ -142,7 +142,7 @@ export class AsyncTests {
{ queueItem, runId: testRunId },
getCurrentTime(),
codeCoverage,
renResult.testRunSummary
runResult.testRunSummary
);
} catch (e) {
throw formatTestErrors(e);
Expand Down

0 comments on commit b163380

Please sign in to comment.