()
| 50 | |
| 51 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 52 | export 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 | } |
no test coverage detected