aboutsummaryrefslogtreecommitdiff
path: root/e2e/follow_properties.test.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-12-22 11:10:36 +0900
committerGitHub <noreply@github.com>2019-12-22 11:10:36 +0900
commitb1a6f374dca078dee2406ebe049715b826e37ca2 (patch)
tree5367c48648e2018f55f12d847baba94559e10040 /e2e/follow_properties.test.ts
parentb2dcdedad729ff7087867da50e20578f9fc8fb29 (diff)
parentda72c2ddd916d79d134662e3985b53a4ac78af7a (diff)
Merge pull request #690 from ueokande/eslint-and-prettier
Eslint and prettier
Diffstat (limited to 'e2e/follow_properties.test.ts')
-rw-r--r--e2e/follow_properties.test.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/e2e/follow_properties.test.ts b/e2e/follow_properties.test.ts
index eaa38e2..bbd46d4 100644
--- a/e2e/follow_properties.test.ts
+++ b/e2e/follow_properties.test.ts
@@ -8,7 +8,7 @@ import { WebDriver, Key } from 'selenium-webdriver';
import Page from './lib/Page';
describe('follow properties test', () => {
- let server = new TestServer().receiveContent('/', `
+ const server = new TestServer().receiveContent('/', `
<!DOCTYPE html>
<html lang="en"><body>
<a href="/">link1</a>
@@ -65,8 +65,8 @@ describe('follow properties test', () => {
});
afterEach(async() => {
- let tabs = await browser.tabs.query({});
- for (let tab of tabs.slice(1)) {
+ const tabs = await browser.tabs.query({});
+ for (const tab of tabs.slice(1)) {
await browser.tabs.remove(tab.id);
}
});
@@ -99,7 +99,7 @@ describe('follow properties test', () => {
await page.sendKeys('jj');
await eventually(async() => {
- let tabs = await browser.tabs.query({});
+ const tabs = await browser.tabs.query({});
assert.strictEqual(tabs[0].active, false);
assert.strictEqual(tabs[1].active, true);
});
@@ -111,14 +111,14 @@ describe('follow properties test', () => {
await page.sendKeys('jj');
await eventually(async() => {
- let tabs = await browser.tabs.query({});
+ const tabs = await browser.tabs.query({});
assert.strictEqual(tabs[0].active, true);
assert.strictEqual(tabs[1].active, false);
});
});
it('should show hints with hintchars by settings', async () => {
- let console = await page.showConsole();
+ const console = await page.showConsole();
await console.execCommand('set hintchars=abc');
await (webdriver.switchTo() as any).parentFrame();