Add more move tests

This commit is contained in:
Logan Ramos
2021-09-24 09:09:30 -04:00
parent 9a21b53663
commit 620a61f5a3

View File

@@ -436,6 +436,12 @@ 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);
assert.strictEqual(tabs.length, 3);
tabs = window.tabs;
// Tabs should still be B -> C -> A
assert.strictEqual(tabs[1].resource?.toString(), docC.uri.toString());
await tabs[1].move(0, ViewColumn.Three);
assert.strictEqual(tabs.length, 3);
tabs = window.tabs;