@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Module testing

    Public ./testing entry point.

    Prefer the highest-level seam that reaches the code under test:

    • createTestHost for framework modules and their production plan;
    • a focused port fake for one capability or service;
    • createVSCodeMock only for code that directly imports vscode.

    This package never imports vscode at runtime. The low-level mock uses only import type, so ordinary unit tests do not require an Extension Host. That convenience is not a compatibility guarantee: platform rendering, host scheduling and unimplemented VS Code members still belong in Extension Host tests.

    CancellationError
    DataTransfer
    DataTransferItem
    Disposable
    EventEmitter
    MarkdownString
    Position
    Range
    RelativePattern
    Selection
    ThemeColor
    ThemeIcon
    TreeItem
    WorkspaceEdit
    ActiveTextEditor
    Application
    ApplicationHost
    ApplicationInspection
    CancellationTokenLike
    CreateTestHostOptions
    DeclaredContributions
    ExtensionHostContext
    FakeCommands
    FakeEditor
    FakeEnvironment
    FakeFileWatchers
    FakeInputBox
    FakeLanguageStatus
    FakeLanguageStatusItem
    FakeLocalization
    FakeMemento
    FakeNotifications
    FakeProgress
    FakeProgressRun
    FakeQuickInput
    FakeQuickPick
    FakeSecrets
    FakeSettings
    FakeSettingsPlacement
    FakeStatusBar
    FakeStatusBarItem
    FakeStorage
    FakeTreeView
    FakeTreeViews
    FakeWebviewPanel
    FakeWebviews
    FakeWebviewSerializer
    FakeWebviewView
    FileWatcherHandle
    HostInspection
    InputBoxLike
    LanguageStatusItemFields
    LanguageStatusItemHandle
    LeakReport
    LocalizedMessage
    ManifestMismatch
    MockFn
    MockFrameworkLike
    MockTextLine
    MockWorkspaceEditEntry
    NotificationActionLike
    QuickPickLike
    RecordedWorkspaceEdit
    RecordingLogSink
    ServiceOverrides
    SettingsChangeSource
    ShownNotification
    StatusBarItemFields
    StatusBarItemHandle
    TestHost
    WebviewPanelSurface
    WebviewViewSurface
    FakeSettingsTier
    HostState
    HostState
    MockFnCreator
    StopReason
    StopReason
    ColorThemeKind
    ConfigurationTarget
    LanguageStatusSeverity
    LogLevel
    ProgressLocation
    QuickInputButtonLocation
    QuickInputButtons
    QuickPickItemKind
    StatusBarAlignment
    TextEditorRevealType
    TreeItemCheckboxState
    TreeItemCollapsibleState
    UIKind
    ViewColumn
    assertManifestMatches
    createFakeCommands
    createFakeEditor
    createFakeEnvironment
    createFakeFileWatchers
    createFakeLanguageStatus
    createFakeLocalization
    createFakeMemento
    createFakeNotifications
    createFakeProgress
    createFakeQuickInput
    createFakeSecrets
    createFakeSettings
    createFakeStatusBar
    createFakeStorage
    createFakeTreeViews
    createFakeWebviews
    createMockCancellationToken
    createMockExtensionContext
    createMockFileSystemWatcher
    createMockInputBox
    createMockLogger
    createMockLogOutputChannel
    createMockMemento
    createMockOutputChannel
    createMockQuickPick
    createMockSecretStorage
    createMockStatusBarItem
    createMockTextDocument
    createMockTextEditor
    createMockTreeView
    createMockUri
    createMockWebview
    createMockWebviewPanel
    createMockWebviewView
    createMockWebviewViewResolveContext
    createMockWorkspaceConfiguration
    createRecordingLogSink
    createTestHost
    createVSCodeMock
    diffManifest
    fakeUri