Fix integration tests

This commit is contained in:
Logan Ramos
2021-09-24 09:43:06 -04:00
parent 620a61f5a3
commit ce7c00f4fb

View File

@@ -436,11 +436,11 @@ suite('vscode API - window', () => {
// Tabs should now be B -> C -> A
assert.strictEqual(tabs[1].resource?.toString(), docC.uri.toString());
await tabs[1].move(1000, ViewColumn.Two);
await tabs[2].move(1000, ViewColumn.Two);
assert.strictEqual(tabs.length, 3);
tabs = window.tabs;
// Tabs should still be B -> C -> A
assert.strictEqual(tabs[1].resource?.toString(), docC.uri.toString());
assert.strictEqual(tabs[2].resource?.toString(), docA.uri.toString());
await tabs[1].move(0, ViewColumn.Three);
assert.strictEqual(tabs.length, 3);