|
|
@ -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')) |
|
|
|