fix unit tests

This commit is contained in:
Sandeep Somavarapu 2022-04-06 17:49:46 +05:30
parent f224f2fe34
commit 58ebf4942c
No known key found for this signature in database
GPG key ID: DD41CAAC8081CC7D

View file

@ -3,7 +3,6 @@
* Licensed under the MIT License. See License.txt in the project root for license information. * Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/ *--------------------------------------------------------------------------------------------*/
import * as assert from 'assert'; import * as assert from 'assert';
import { tmpdir } from 'os';
import { VSBuffer } from 'vs/base/common/buffer'; import { VSBuffer } from 'vs/base/common/buffer';
import { DisposableStore } from 'vs/base/common/lifecycle'; import { DisposableStore } from 'vs/base/common/lifecycle';
import { dirname, joinPath } from 'vs/base/common/resources'; import { dirname, joinPath } from 'vs/base/common/resources';
@ -19,7 +18,7 @@ import { ILogService, NullLogService } from 'vs/platform/log/common/log';
import { IProductService } from 'vs/platform/product/common/productService'; import { IProductService } from 'vs/platform/product/common/productService';
let translations: Translations = Object.create(null); let translations: Translations = Object.create(null);
const ROOT = URI.file(tmpdir()); const ROOT = URI.file('ROOT');
class ExtensionsScannerService extends AbstractExtensionsScannerService implements IExtensionsScannerService { class ExtensionsScannerService extends AbstractExtensionsScannerService implements IExtensionsScannerService {