mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
debt - improve emmet integration tests
- properly close all editors - disable minimap to prevent spammy output
This commit is contained in:
@@ -46,7 +46,7 @@ suite('Tests for Expand Abbreviations (HTML)', () => {
|
||||
const oldValueForInlcudeLanguages = workspace.getConfiguration('emmet').inspect('includeLanguages');
|
||||
teardown(() => {
|
||||
// close all editors
|
||||
return closeAllEditors;
|
||||
return closeAllEditors();
|
||||
});
|
||||
|
||||
test('Expand snippets (HTML)', () => {
|
||||
|
||||
@@ -14,7 +14,7 @@ const completionProvider = new DefaultCompletionItemProvider();
|
||||
suite('Tests for completion in CSS embedded in HTML', () => {
|
||||
teardown(() => {
|
||||
// close all editors
|
||||
return closeAllEditors;
|
||||
return closeAllEditors();
|
||||
});
|
||||
|
||||
test('style attribute & attribute value in html', async () => {
|
||||
|
||||
@@ -16,7 +16,7 @@ import { mergeLines } from '../mergeLines';
|
||||
suite('Tests for Emmet actions on html tags', () => {
|
||||
teardown(() => {
|
||||
// close all editors
|
||||
return closeAllEditors;
|
||||
return closeAllEditors();
|
||||
});
|
||||
|
||||
const contents = `
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"editor.minimap.enabled": false // see https://github.com/microsoft/vscode/issues/115747
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
DO NOT DELETE, USED BY INTEGRATION TESTS
|
||||
Reference in New Issue
Block a user