Skip to content

Commit 1365139

Browse files
committed
Fix indentation inconsistency
1 parent f3e264f commit 1365139

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

webdriver-ts/src/benchmarksPuppeteer.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ export const benchRemove = new (class extends CPUBenchmarkPuppeteer {
144144
await clickElement(page, "pierce/#run");
145145
await checkElementExists(page, "pierce/tbody>tr:nth-of-type(1000)>td:nth-of-type(1)");
146146
for (let i = 0; i < config.WARMUP_COUNT; i++) {
147-
const rowToClick = config.WARMUP_COUNT - i + this.rowsToSkip;
148-
await checkElementContainsText(page, `pierce/tbody>tr:nth-of-type(${rowToClick})>td:nth-of-type(1)`, rowToClick.toString());
149-
await clickElement(page, `pierce/tbody>tr:nth-of-type(${rowToClick})>td:nth-of-type(3)>a>span:nth-of-type(1)`);
150-
await checkElementContainsText(page, `pierce/tbody>tr:nth-of-type(${rowToClick})>td:nth-of-type(1)`, `${this.rowsToSkip + config.WARMUP_COUNT + 1}`);
147+
const rowToClick = config.WARMUP_COUNT - i + this.rowsToSkip;
148+
await checkElementContainsText(page, `pierce/tbody>tr:nth-of-type(${rowToClick})>td:nth-of-type(1)`, rowToClick.toString());
149+
await clickElement(page, `pierce/tbody>tr:nth-of-type(${rowToClick})>td:nth-of-type(3)>a>span:nth-of-type(1)`);
150+
await checkElementContainsText(page, `pierce/tbody>tr:nth-of-type(${rowToClick})>td:nth-of-type(1)`, `${this.rowsToSkip + config.WARMUP_COUNT + 1}`);
151151
}
152152
await checkElementContainsText(page, `pierce/tbody>tr:nth-of-type(${this.rowsToSkip + 1})>td:nth-of-type(1)`, `${this.rowsToSkip + config.WARMUP_COUNT + 1}`);
153153
await checkElementContainsText(page, `pierce/tbody>tr:nth-of-type(${this.rowsToSkip})>td:nth-of-type(1)`, `${this.rowsToSkip}`);

0 commit comments

Comments
 (0)