Skip to content

Commit

Permalink
align tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorjboyd committed Nov 13, 2024
1 parent 9b9c45c commit 4abfc3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/testing/common/debugLauncher.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ suite('Unit Tests - Debug Launcher', () => {
const deferred = createDeferred<void>();

debugService
.setup((d) => d.startDebugging(TypeMoq.It.isValue(workspaceFolder), TypeMoq.It.isValue(expected)))
.setup((d) =>
d.startDebugging(TypeMoq.It.isValue(workspaceFolder), TypeMoq.It.isValue(expected), undefined),
)
.returns((_wspc: WorkspaceFolder, _expectedParam: DebugConfiguration) => {
deferred.resolve();
return Promise.resolve(undefined as any);
Expand Down Expand Up @@ -299,7 +301,7 @@ suite('Unit Tests - Debug Launcher', () => {
});
test(`Must not launch debugger if cancelled ${testTitleSuffix}`, async () => {
debugService
.setup((d) => d.startDebugging(TypeMoq.It.isAny(), TypeMoq.It.isAny()))
.setup((d) => d.startDebugging(TypeMoq.It.isAny(), TypeMoq.It.isAny(), TypeMoq.It.isAny()))
.returns(() => {
return Promise.resolve(undefined as any);
})
Expand Down

0 comments on commit 4abfc3d

Please sign in to comment.