Skip to content

Commit

Permalink
fix: DI in test
Browse files Browse the repository at this point in the history
Signed-off-by: Akos Kitta <[email protected]>
  • Loading branch information
Akos Kitta committed Feb 2, 2023
1 parent 38e0806 commit b5be42a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { FrontendApplicationConfigProvider } from '@theia/core/lib/browser/front
FrontendApplicationConfigProvider.set({});

import {
ApplicationShell,
FrontendApplication,
LabelProvider,
OpenerService,
Expand All @@ -18,7 +19,6 @@ import { OS } from '@theia/core/lib/common/os';
import { SelectionService } from '@theia/core/lib/common/selection-service';
import URI from '@theia/core/lib/common/uri';
import { Container } from '@theia/core/shared/inversify';
import { EditorManager } from '@theia/editor/lib/browser/editor-manager';
import { FileDialogService } from '@theia/filesystem/lib/browser';
import { FileService } from '@theia/filesystem/lib/browser/file-service';
import { FileStat } from '@theia/filesystem/lib/common/files';
Expand Down Expand Up @@ -152,7 +152,7 @@ describe('workspace-commands', () => {
.bind(SketchesServiceClientImpl)
.toConstantValue(<SketchesServiceClientImpl>{});
container.bind(CreateFeatures).toConstantValue(<CreateFeatures>{});
container.bind(EditorManager).toConstantValue(<EditorManager>{});
container.bind(ApplicationShell).toConstantValue(<ApplicationShell>{});
return container;
}

Expand Down

0 comments on commit b5be42a

Please sign in to comment.