mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-24 19:56:38 +00:00
16 lines
620 B
TypeScript
16 lines
620 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import * as vscode from 'vscode';
|
|
|
|
declare global {
|
|
var testExtensionContext: vscode.ExtensionContext;
|
|
}
|
|
|
|
export function activate(_context: vscode.ExtensionContext) {
|
|
// Set context as a global as some tests depend on it
|
|
global.testExtensionContext = _context;
|
|
}
|