Skip to content

Commit 54c03d9

Browse files
committed
More feedback
1 parent 51fa167 commit 54c03d9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/launchConfigManager.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ describe("launchConfigManager", () => {
5555
});
5656
const launchConfigManager = LaunchConfigManager.instance;
5757
expect(launchConfigManager.getLaunchConfig()).toEqual('Launch Edge Headless and attach DevTools');
58-
expect(vscodeMock.commands.executeCommand).toHaveBeenCalledWith ('setContext', 'launchJsonStatus', 'Supported');
58+
expect(vscodeMock.commands.executeCommand).toHaveBeenCalledWith('setContext', 'launchJsonStatus', 'Supported');
5959
});
6060

6161
it('updates launchJsonStatus with "None" when there is no folder open', async () => {
6262
const vscodeMock = jest.requireMock("vscode");
6363
const launchConfigManager = LaunchConfigManager.instance;
6464
vscodeMock.workspace.workspaceFolders = null;
6565
expect(launchConfigManager.getLaunchConfig()).toEqual('None');
66-
expect(vscodeMock.commands.executeCommand).toHaveBeenCalledWith ('setContext', 'launchJsonStatus', 'None');
66+
expect(vscodeMock.commands.executeCommand).toHaveBeenCalledWith('setContext', 'launchJsonStatus', 'None');
6767
});
6868
});
6969

@@ -87,7 +87,7 @@ describe("launchConfigManager", () => {
8787
vscodeMock.Uri.joinPath = jest.fn();
8888
const launchConfigManager = LaunchConfigManager.instance;
8989
await launchConfigManager.configureLaunchJson();
90-
expect(vscodeMock.WorkspaceConfiguration.update).toHaveBeenCalledWith ('configurations', expect.arrayContaining([...extensionConfigs]));
90+
expect(vscodeMock.WorkspaceConfiguration.update).toHaveBeenCalledWith('configurations', expect.arrayContaining([...extensionConfigs]));
9191
expect(vscodeMock.WorkspaceConfiguration.update).toHaveBeenCalledWith('compounds', expect.arrayContaining([...extensionCompoundConfigs]));
9292
});
9393

@@ -119,7 +119,7 @@ describe("launchConfigManager", () => {
119119
vscodeMock.Uri.joinPath = jest.fn();
120120
const launchConfigManager = LaunchConfigManager.instance;
121121
launchConfigManager.configureLaunchJson();
122-
expect(vscodeMock.WorkspaceConfiguration.update).toHaveBeenCalledWith ('configurations', Array(3).fill(expect.anything()));
122+
expect(vscodeMock.WorkspaceConfiguration.update).toHaveBeenCalledWith('configurations', Array(3).fill(expect.anything()));
123123
});
124124

125125
it('retains user config', async () => {

0 commit comments

Comments
 (0)