提交 2c09792e 编写于 作者: B Benjamin Pasero

first commands test (disabled)

上级 052a1dc8
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import * as assert from 'assert';
import * as fs from 'fs';
import * as os from 'os';
import {workspace, window, Position, commands} from 'vscode';
import {createRandomFile, deleteFile, cleanUp} from './utils';
import {join} from 'path';
suite("editor tests", () => {
teardown(cleanUp);
// test('calling command completes with the extension host updated properly', () => {
// return workspace.openTextDocument(join(workspace.rootPath, './far.js')).then(doc => {
// return window.showTextDocument(doc).then(editor => {
// assert.equal(window.visibleTextEditors.length, 1);
// return commands.executeCommand('workbench.action.closeAllEditors').then(() => {
// assert.equal(window.visibleTextEditors.length, 0);
// });
// });
// });
// });
});
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册