diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-10-09 11:50:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-09 11:50:52 +0000 |
commit | 18c72bf15c6bc7e4c88dd06d38ff861f29d66b1b (patch) | |
tree | f46720349e17c57db7bbfc55241b12c4410f2773 /e2e/completion_set.test.ts | |
parent | 8eddcc1785a85bbe74be254d1055ebe5125dad10 (diff) | |
parent | 68f6211aac4177f3a70a40031dabbd1b61840071 (diff) |
Merge pull request #655 from ueokande/partial-blacklist
Partial blacklist
Diffstat (limited to 'e2e/completion_set.test.ts')
-rw-r--r-- | e2e/completion_set.test.ts | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/e2e/completion_set.test.ts b/e2e/completion_set.test.ts index 2a14b2c..facf991 100644 --- a/e2e/completion_set.test.ts +++ b/e2e/completion_set.test.ts @@ -1,7 +1,6 @@ import * as path from 'path'; import * as assert from 'assert'; -import settings from './settings'; import eventually from './eventually'; import { Builder, Lanthan } from 'lanthan'; import { WebDriver } from 'selenium-webdriver'; @@ -10,7 +9,6 @@ import Page from './lib/Page'; describe("completion on set commands", () => { let lanthan: Lanthan; let webdriver: WebDriver; - let browser: any; let page: Page; before(async() => { @@ -19,11 +17,6 @@ describe("completion on set commands", () => { .spyAddon(path.join(__dirname, '..')) .build(); webdriver = lanthan.getWebDriver(); - browser = lanthan.getWebExtBrowser(); - - await browser.storage.local.set({ - settings, - }); }); after(async() => { @@ -44,9 +37,9 @@ describe("completion on set commands", () => { let items = await console.getCompletions(); assert.strictEqual(items.length, 5); assert.deepStrictEqual(items[0], { type: 'title', text: 'Properties' }); - assert.ok(items[1].text.startsWith('hintchars')) - assert.ok(items[2].text.startsWith('smoothscroll')) - assert.ok(items[3].text.startsWith('nosmoothscroll')) + assert.ok(items[1].text.startsWith('hintchars')); + assert.ok(items[2].text.startsWith('smoothscroll')); + assert.ok(items[3].text.startsWith('nosmoothscroll')); assert.ok(items[4].text.startsWith('complete')) }); }); |