From 7225d02a7cc31a18bb21a8bd682536ac64f596ea Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Wed, 13 Nov 2019 17:59:27 +0100 Subject: [PATCH] fix tests --- src/vs/platform/dialogs/common/dialogs.ts | 1 - src/vs/platform/files/test/node/diskFileService.test.ts | 2 +- src/vs/workbench/services/textfile/common/textfiles.ts | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/vs/platform/dialogs/common/dialogs.ts b/src/vs/platform/dialogs/common/dialogs.ts index a01a721267f..0258fa407dd 100644 --- a/src/vs/platform/dialogs/common/dialogs.ts +++ b/src/vs/platform/dialogs/common/dialogs.ts @@ -141,7 +141,6 @@ export interface IOpenDialogOptions { availableFileSystems?: readonly string[]; } - export const IDialogService = createDecorator('dialogService'); export interface IDialogOptions { diff --git a/src/vs/platform/files/test/node/diskFileService.test.ts b/src/vs/platform/files/test/node/diskFileService.test.ts index 0b5b1ecf8bc..0caf7ec7a45 100644 --- a/src/vs/platform/files/test/node/diskFileService.test.ts +++ b/src/vs/platform/files/test/node/diskFileService.test.ts @@ -134,7 +134,7 @@ suite('Disk File Service', function () { // we see random test failures when accessing the native file system. To // diagnose further, we retry node.js file access tests up to 3 times to // rule out any random disk issue. - // this.retries(3); + this.retries(3); setup(async () => { const logService = new NullLogService(); diff --git a/src/vs/workbench/services/textfile/common/textfiles.ts b/src/vs/workbench/services/textfile/common/textfiles.ts index a77cb9386db..bfc329ca941 100644 --- a/src/vs/workbench/services/textfile/common/textfiles.ts +++ b/src/vs/workbench/services/textfile/common/textfiles.ts @@ -139,7 +139,6 @@ export interface ITextFileService extends IDisposable { confirmSave(resources?: URI[]): Promise; } - export class FileOperationWillRunEvent implements IWaitUntil { constructor( @@ -157,7 +156,6 @@ export class FileOperationWillRunEvent implements IWaitUntil { } } - export class FileOperationDidRunEvent { constructor( @@ -167,7 +165,6 @@ export class FileOperationDidRunEvent { ) { } } - export interface IReadTextFileOptions extends IReadFileOptions { /** -- GitLab