Delete notebookTestMain

This commit is contained in:
Rob Lourens 2021-02-16 21:07:55 -08:00
parent c03c758765
commit 90f5ef65a0
3 changed files with 2 additions and 16 deletions

View file

@ -8,7 +8,7 @@
"activationEvents": [
"*"
],
"main": "./out/notebookTestMain",
"main": "./out/extension",
"enableProposedApi": true,
"engines": {
"vscode": "^1.25.0"

View file

@ -11,7 +11,7 @@ function wait(ms: number): Promise<void> {
return new Promise(r => setTimeout(r, ms));
}
export function smokeTestActivate(context: vscode.ExtensionContext): any {
export function activate(context: vscode.ExtensionContext): any {
context.subscriptions.push(vscode.commands.registerCommand('vscode-notebook-tests.createNewNotebook', async () => {
const workspacePath = vscode.workspace.workspaceFolders![0].uri.fsPath;
const notebookPath = path.join(workspacePath, 'test.smoke-nb');

View file

@ -1,14 +0,0 @@
/*---------------------------------------------------------------------------------------------
* 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';
import { smokeTestActivate } from './notebookSmokeTestMain';
export function activate(context: vscode.ExtensionContext): any {
smokeTestActivate(context);
}