提交 a0cdf8dc 编写于 作者: R Rob Lourens

Fix test failure - need to mock new ILogService dependency in SearchService

上级 4f5a256a
......@@ -34,6 +34,7 @@ import { QueryBuilder } from 'vs/workbench/parts/search/common/queryBuilder';
import Event, * as event from 'vs/base/common/event';
import { testWorkspace } from 'vs/platform/workspace/test/common/testWorkspace';
import { ILogService, NullLogService } from '../../../platform/log/common/log';
declare var __dirname: string;
......@@ -67,7 +68,8 @@ suite('TextSearch performance (integration)', () => {
[IEditorGroupService, new TestEditorGroupService()],
[IEnvironmentService, TestEnvironmentService],
[IUntitledEditorService, createSyncDescriptor(UntitledEditorService)],
[ISearchService, createSyncDescriptor(SearchService)]
[ISearchService, createSyncDescriptor(SearchService)],
[ILogService, new NullLogService()]
));
const queryOptions: IQueryOptions = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册