Skip to content

Commit b5be42a

Browse files
author
Akos Kitta
committed
fix: DI in test
Signed-off-by: Akos Kitta <[email protected]>
1 parent 38e0806 commit b5be42a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: arduino-ide-extension/src/test/browser/workspace-commands.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { FrontendApplicationConfigProvider } from '@theia/core/lib/browser/front
55
FrontendApplicationConfigProvider.set({});
66

77
import {
8+
ApplicationShell,
89
FrontendApplication,
910
LabelProvider,
1011
OpenerService,
@@ -18,7 +19,6 @@ import { OS } from '@theia/core/lib/common/os';
1819
import { SelectionService } from '@theia/core/lib/common/selection-service';
1920
import URI from '@theia/core/lib/common/uri';
2021
import { Container } from '@theia/core/shared/inversify';
21-
import { EditorManager } from '@theia/editor/lib/browser/editor-manager';
2222
import { FileDialogService } from '@theia/filesystem/lib/browser';
2323
import { FileService } from '@theia/filesystem/lib/browser/file-service';
2424
import { FileStat } from '@theia/filesystem/lib/common/files';
@@ -152,7 +152,7 @@ describe('workspace-commands', () => {
152152
.bind(SketchesServiceClientImpl)
153153
.toConstantValue(<SketchesServiceClientImpl>{});
154154
container.bind(CreateFeatures).toConstantValue(<CreateFeatures>{});
155-
container.bind(EditorManager).toConstantValue(<EditorManager>{});
155+
container.bind(ApplicationShell).toConstantValue(<ApplicationShell>{});
156156
return container;
157157
}
158158

0 commit comments

Comments
 (0)