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

Function initializeTest

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

Source from the content-addressed store, hash-verified

50
51// eslint-disable-next-line @typescript-eslint/no-explicit-any
52export async function initializeTest(): Promise<any> {
53 await initializePython();
54 await closeActiveWindows();
55 if (!IS_SMOKE_TEST()) {
56 // When running smoke tests, we won't have access to these.
57 const configSettings = await import('../platform/common/configSettings');
58 // Dispose any cached python settings (used only in test env).
59 configSettings.JupyterSettings.dispose();
60 }
61}

Callers 1

Calls 4

closeActiveWindowsFunction · 0.90
initializePythonFunction · 0.85
IS_SMOKE_TESTFunction · 0.85
disposeMethod · 0.65

Tested by

no test coverage detected