tests - reduce output of integration tests (#84283)

This commit is contained in:
Benjamin Pasero
2020-01-15 12:56:15 +01:00
parent a3a53d730c
commit 2585092dbe
10 changed files with 87 additions and 53 deletions

View File

@@ -5,7 +5,7 @@
import * as assert from 'assert';
import * as vscode from 'vscode';
import { createRandomFile } from '../utils';
import { createRandomFile, withLogDisabled } from '../utils';
suite('workspace-event', () => {
@@ -66,7 +66,7 @@ suite('workspace-event', () => {
assert.equal(baseDoc.getText(), 'HALLO_NEW');
});
test('onWillCreate/onDidCreate, make changes, edit new file fails', async function () {
test('onWillCreate/onDidCreate, make changes, edit new file fails', withLogDisabled(async function () {
const base = await createRandomFile();
@@ -86,7 +86,7 @@ suite('workspace-event', () => {
assert.equal((await vscode.workspace.fs.readFile(newUri)).toString(), '');
assert.equal((await vscode.workspace.openTextDocument(newUri)).getText(), '');
});
}));
test('onWillDelete/onDidDelete', async function () {