mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
tests - reduce output of integration tests (#84283)
This commit is contained in:
@@ -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 () {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user