debt - improve emmet integration tests

- properly close all editors
- disable minimap to prevent spammy output
This commit is contained in:
Benjamin Pasero
2021-03-29 08:31:14 +02:00
parent 7f9835ac43
commit b19f50e016
6 changed files with 4 additions and 5 deletions

View File

@@ -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)', () => {

View File

@@ -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 () => {

View File

@@ -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 = `

View File

@@ -1,3 +0,0 @@
{
"editor.minimap.enabled": false // see https://github.com/microsoft/vscode/issues/115747
}

View File

@@ -1 +0,0 @@
DO NOT DELETE, USED BY INTEGRATION TESTS