ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { afterEach, beforeEach } from 'vitest';
import { DisposableStore, DisposableTracker, IDisposable, setDisposableTracker } from '../../vs/base/common/lifecycle';
/**
* Use this function to ensure that all disposables are cleaned up at the end of each test in the current suite.
*
* Use `markAsSingleton` if disposable singletons are created lazily that are allowed to outlive the test.
* Make sure that the singleton properly registers all child disposables so that they are excluded too.
*
* @returns A {@link DisposableStore} that can optionally be used to track disposables in the test.
* This will be automatically disposed on test teardown.
*/
export function ensureNoDisposablesAreLeakedInTestSuite(): Pick<DisposableStore, 'add'> {
let tracker: DisposableTracker | undefined;
let store: DisposableStore
store
tracker
tracker
store
result tracker
result
resultdetails
testContext
o
storeo
testContext
logToConsole
tracker
tracker
tracker logToConsole
tracker
tracker
tracker
tracker DisposableTracker logToConsole
result tracker
result
logToConsole
resultdetails