aboutsummaryrefslogtreecommitdiff
path: root/e2e/zoom.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'e2e/zoom.test.ts')
-rw-r--r--e2e/zoom.test.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/e2e/zoom.test.ts b/e2e/zoom.test.ts
index af5cc68..d089097 100644
--- a/e2e/zoom.test.ts
+++ b/e2e/zoom.test.ts
@@ -33,21 +33,21 @@ describe("zoom test", () => {
});
it('should zoom in by zi', async () => {
- let before = await browser.tabs.getZoom(tab.id);
+ const before = await browser.tabs.getZoom(tab.id);
await page.sendKeys('zi');
await eventually(async() => {
- let actual = await browser.tabs.getZoom(tab.id);
+ const actual = await browser.tabs.getZoom(tab.id);
assert.ok(before < actual);
});
});
it('should zoom out by zo', async () => {
- let before = await browser.tabs.getZoom(tab.id);
+ const before = await browser.tabs.getZoom(tab.id);
await page.sendKeys('zo');
await eventually(async() => {
- let actual = await browser.tabs.getZoom(tab.id);
+ const actual = await browser.tabs.getZoom(tab.id);
assert.ok(before > actual);
});
});
@@ -57,7 +57,7 @@ describe("zoom test", () => {
await page.sendKeys('zz');
await eventually(async() => {
- let actual = await browser.tabs.getZoom(tab.id);
+ const actual = await browser.tabs.getZoom(tab.id);
assert.strictEqual(actual, 1);
});
});