aboutsummaryrefslogtreecommitdiff
path: root/e2e/completion_set.test.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-12-22 10:28:14 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-12-22 10:48:39 +0900
commit029d5365e7d74e87375fccb8db097b7c2df3f7f4 (patch)
tree6a24c719da9c60461c7e2fe120b0d42af9e580f2 /e2e/completion_set.test.ts
parentd72012529bcd820598fa64e1aa20dab1c16acaa5 (diff)
npm run lint:fix
Diffstat (limited to 'e2e/completion_set.test.ts')
-rw-r--r--e2e/completion_set.test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/e2e/completion_set.test.ts b/e2e/completion_set.test.ts
index facf991..7e9714c 100644
--- a/e2e/completion_set.test.ts
+++ b/e2e/completion_set.test.ts
@@ -30,11 +30,11 @@ describe("completion on set commands", () => {
});
it('should show all property names by "set" command with empty params', async() => {
- let console = await page.showConsole();
+ const console = await page.showConsole();
await console.inputKeys('set ');
await eventually(async() => {
- let items = await console.getCompletions();
+ const items = await console.getCompletions();
assert.strictEqual(items.length, 5);
assert.deepStrictEqual(items[0], { type: 'title', text: 'Properties' });
assert.ok(items[1].text.startsWith('hintchars'));
@@ -45,11 +45,11 @@ describe("completion on set commands", () => {
});
it('should show filtered property names by "set" command', async() => {
- let console = await page.showConsole();
+ const console = await page.showConsole();
await console.inputKeys('set no');
await eventually(async() => {
- let items = await console.getCompletions();
+ const items = await console.getCompletions();
assert.strictEqual(items.length, 2);
assert.ok(items[1].text.includes('nosmoothscroll'))
});