Skip to content

Commit

Permalink
add env.remoteName mock to vscode-mock.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Dec 4, 2024
1 parent a91bc95 commit 494479f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/vscode-mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export function initialize() {
const clipboard = new MockClipboard();
when(mockedVSCodeNamespaces.env!.clipboard).thenReturn(clipboard);
when(mockedVSCodeNamespaces.env!.appName).thenReturn('Insider');
when(mockedVSCodeNamespaces.env!.remoteName).thenReturn('Notwsl');

// This API is used in src/client/telemetry/telemetry.ts
const extension = mock<vscode.Extension<any>>();
Expand Down

0 comments on commit 494479f

Please sign in to comment.