From 2d6e3dfeed65513fbb8f006ad7f8b77d2f0bf4e6 Mon Sep 17 00:00:00 2001 From: Paul Wang Date: Fri, 17 Jan 2025 13:58:08 -0800 Subject: [PATCH] fix test --- src/standalone/api/kernels/api.vscode.common.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/standalone/api/kernels/api.vscode.common.test.ts b/src/standalone/api/kernels/api.vscode.common.test.ts index e759e7b0da7..eb66beb5256 100644 --- a/src/standalone/api/kernels/api.vscode.common.test.ts +++ b/src/standalone/api/kernels/api.vscode.common.test.ts @@ -30,7 +30,7 @@ import { waitForExecutionCompletedSuccessfully } from '../../../test/datascience/notebook/helper'; import { getKernelsApi } from '.'; -import { createDeferred, createDeferredFromPromise, raceTimeoutError } from '../../../platform/common/utils/async'; +import { createDeferred, raceTimeoutError } from '../../../platform/common/utils/async'; import { dispose } from '../../../platform/common/utils/lifecycle'; import { IKernel, IKernelProvider } from '../../../kernels/types'; import { IControllerRegistration, IVSCodeNotebookController } from '../../../notebooks/controllers/types'; @@ -302,7 +302,7 @@ suiteMandatory('Kernel API Tests @typescript', function () { }); disposables.push(eventHandler); - // Do not explicitly start the kernel here, let it be triggered by the cell execution. + // Do not explicitly start the kernel here, let it be triggered by the cell execution.s await Promise.all([runCell(cell), waitForExecutionCompletedSuccessfully(cell), executionOrderSet.promise]); // Validate the cell execution output is equal to the expected value of "foo = 0"