mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Move non abbr emmet cmds from core to extension #29969
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as assert from 'assert';
|
||||
import { Selection, commands } from 'vscode';
|
||||
import { Selection } from 'vscode';
|
||||
import { withRandomFileEditor, closeAllEditors } from './testUtils';
|
||||
import { updateImageSize } from '../updateImageSize';
|
||||
import * as path from 'path';
|
||||
|
||||
suite('Tests for Emmet actions on html tags', () => {
|
||||
@@ -54,7 +55,7 @@ suite('Tests for Emmet actions on html tags', () => {
|
||||
new Selection(11, 50, 11, 50)
|
||||
];
|
||||
|
||||
return commands.executeCommand('emmet.updateImageSize').then(() => {
|
||||
return updateImageSize().then(() => {
|
||||
assert.equal(doc.getText(), expectedContents);
|
||||
return Promise.resolve();
|
||||
});
|
||||
@@ -111,7 +112,7 @@ suite('Tests for Emmet actions on html tags', () => {
|
||||
new Selection(13, 50, 13, 50)
|
||||
];
|
||||
|
||||
return commands.executeCommand('emmet.updateImageSize').then(() => {
|
||||
return updateImageSize().then(() => {
|
||||
assert.equal(doc.getText(), expectedContents);
|
||||
return Promise.resolve();
|
||||
});
|
||||
@@ -140,7 +141,7 @@ suite('Tests for Emmet actions on html tags', () => {
|
||||
new Selection(4, 50, 4, 50)
|
||||
];
|
||||
|
||||
return commands.executeCommand('emmet.updateImageSize').then(() => {
|
||||
return updateImageSize().then(() => {
|
||||
assert.equal(doc.getText(), expectedContents);
|
||||
return Promise.resolve();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user