From db398ed91600c40c9f91e4b5eae16dcd4ad5c404 Mon Sep 17 00:00:00 2001 From: "street-side-software-automation[bot]" <74785433+street-side-software-automation[bot]@users.noreply.github.com> Date: Sat, 7 Sep 2024 09:44:09 +0200 Subject: [PATCH] fix: Update VSCode to (^1.93.0) (main) (#399) Co-authored-by: Jason3S <3740137+Jason3S@users.noreply.github.com> Co-authored-by: Jason Dent --- package.json | 2 +- pnpm-lock.yaml | 9 +++++++-- src/vscode-mock.ts | 3 ++- src/vscode/window.ts | 3 +++ 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7bf8e36..9578bbf 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@jest/globals": "^29.7.0", "@tsconfig/node20": "^20.1.4", "@types/node": "^20.16.5", - "@types/vscode": "^1.92.0", + "@types/vscode": "^1.93.0", "eslint": "^9.9.1", "eslint-plugin-n": "^17.10.2", "eslint-plugin-simple-import-sort": "^12.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6213a54..58e0d7c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,8 +25,8 @@ importers: specifier: ^20.16.5 version: 20.16.5 '@types/vscode': - specifier: ^1.92.0 - version: 1.92.0 + specifier: ^1.93.0 + version: 1.93.0 eslint: specifier: ^9.9.1 version: 9.9.1 @@ -710,6 +710,9 @@ packages: '@types/vscode@1.92.0': resolution: {integrity: sha512-DcZoCj17RXlzB4XJ7IfKdPTcTGDLYvTOcTNkvtjXWF+K2TlKzHHkBEXNWQRpBIXixNEUgx39cQeTFunY0E2msw==} + '@types/vscode@1.93.0': + resolution: {integrity: sha512-kUK6jAHSR5zY8ps42xuW89NLcBpw1kOabah7yv38J8MyiYuOHxLQBi0e7zeXbQgVefDy/mZZetqEFC+Fl5eIEQ==} + '@types/yargs-parser@21.0.3': resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} @@ -3142,6 +3145,8 @@ snapshots: '@types/vscode@1.92.0': {} + '@types/vscode@1.93.0': {} + '@types/yargs-parser@21.0.3': {} '@types/yargs@17.0.33': diff --git a/src/vscode-mock.ts b/src/vscode-mock.ts index 9541df7..e625789 100644 --- a/src/vscode-mock.ts +++ b/src/vscode-mock.ts @@ -180,9 +180,10 @@ type NotImplemented = | 'TerminalLink' | 'TerminalLocation' | 'TerminalProfile' - | 'TestCoverage' + | 'TerminalShellExecutionCommandLineConfidence' | 'TestCoverageCount' | 'TestMessage' + | 'TestMessageStackFrame' | 'TestRunProfileKind' | 'TestRunRequest' | 'tests' diff --git a/src/vscode/window.ts b/src/vscode/window.ts index e30b3f3..0ffbbb1 100644 --- a/src/vscode/window.ts +++ b/src/vscode/window.ts @@ -53,6 +53,7 @@ export function createWindow(jest: TestFramework, workspace: Workspace): Window onDidChangeActiveTextEditor: jest.fn(), onDidChangeNotebookEditorSelection: jest.fn(), onDidChangeNotebookEditorVisibleRanges: jest.fn(), + onDidChangeTerminalShellIntegration: jest.fn(), onDidChangeTerminalState: jest.fn(), onDidChangeTextEditorOptions: jest.fn(), onDidChangeTextEditorSelection: jest.fn(), @@ -61,6 +62,8 @@ export function createWindow(jest: TestFramework, workspace: Workspace): Window onDidChangeVisibleNotebookEditors: jest.fn(), onDidChangeVisibleTextEditors: jest.fn(), onDidChangeWindowState: jest.fn(), + onDidEndTerminalShellExecution: jest.fn(), + onDidStartTerminalShellExecution: jest.fn(), onDidCloseTerminal: jest.fn(), onDidOpenTerminal: jest.fn(), registerCustomEditorProvider: jest.fn(),