MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / initialize

Function initialize

src/test/initialize.node.ts:39–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37let jupyterServerStarted = false;
38// eslint-disable-next-line @typescript-eslint/no-explicit-any
39export async function initialize(): Promise<IExtensionTestApi> {
40 await initializePython();
41 initializeCommonNodeApi();
42 const api = (await activateExtension()) as IExtensionTestApi;
43 // Ensure we start jupyter server before opening any notebooks or the like.
44 if (!jupyterServerStarted) {
45 jupyterServerStarted = true;
46 await startJupyterServer();
47 }
48 return api;
49}
50
51// eslint-disable-next-line @typescript-eslint/no-explicit-any
52export async function initializeTest(): Promise<any> {

Callers

nothing calls this directly

Calls 4

initializeCommonNodeApiFunction · 0.90
activateExtensionFunction · 0.90
startJupyterServerFunction · 0.90
initializePythonFunction · 0.85

Tested by

no test coverage detected