()
| 37 | let jupyterServerStarted = false; |
| 38 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 39 | export 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 |
| 52 | export async function initializeTest(): Promise<any> { |
nothing calls this directly
no test coverage detected