Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Grant <[email protected]>
  • Loading branch information
colin-grant-work committed Nov 22, 2021
1 parent c2f4135 commit 07e5a39
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { MonacoTextModelService } from '@theia/monaco/lib/browser/monaco-text-mo
import { Disposable, MessageService } from '@theia/core/lib/common';
import { MonacoWorkspace } from '@theia/monaco/lib/browser/monaco-workspace';
import { PreferenceSchemaProvider } from '@theia/core/lib/browser';
import { EditorManager } from '@theia/editor/lib/browser/editor-manager';

disableJSDOM();

Expand Down Expand Up @@ -84,6 +85,7 @@ describe('AbstractResourcePreferenceProvider', () => {
testContainer.bind(<any>MonacoTextModelService).toConstantValue(new MockTextModelService);
testContainer.bind(<any>MessageService).toConstantValue(undefined);
testContainer.bind(<any>MonacoWorkspace).toConstantValue(undefined);
testContainer.bind(<any>EditorManager).toConstantValue(undefined);
provider = testContainer.resolve(<any>LessAbstractPreferenceProvider);
});

Expand Down

0 comments on commit 07e5a39

Please sign in to comment.