Fix completion e2e test

jh-changes
Shin'ya UEOKA 5 years ago
parent 5291c4cca1
commit cb08141a55
  1. 2
      e2e/completion.test.ts

@ -40,7 +40,7 @@ describe("general completion test", () => {
let console = await page.showConsole(); let console = await page.showConsole();
let items = await console.getCompletions(); let items = await console.getCompletions();
assert.strictEqual(items.length, 10); assert.strictEqual(items.length, 11);
assert.deepStrictEqual(items[0], { type: 'title', text: 'Console Command' }); assert.deepStrictEqual(items[0], { type: 'title', text: 'Console Command' });
assert.ok(items[1].text.startsWith('set')) assert.ok(items[1].text.startsWith('set'))
assert.ok(items[2].text.startsWith('open')) assert.ok(items[2].text.startsWith('open'))