diff --git a/test/suite/utils.test.ts b/test/suite/utils.test.ts index 28649d0a..e63442c7 100644 --- a/test/suite/utils.test.ts +++ b/test/suite/utils.test.ts @@ -355,13 +355,13 @@ describe("Utils", () => { it("should return true if a workspace folder is opened", () => { sinon.stub(vscode.workspace, "workspaceFolders").get(() => [{}]); - const result = coreUtils.hasWorkspaceOrShowOption(); + const result = coreUtils.hasWorkspaceOrShowOption("Test"); assert.strictEqual(result, true); }); it("should return false and display message if no workspace", () => { const stub = sinon.stub(vscode.window, "showWarningMessage").resolves(); - const result = coreUtils.hasWorkspaceOrShowOption(); + const result = coreUtils.hasWorkspaceOrShowOption("Test"); assert.strictEqual(result, false); assert.ok(stub.calledOnce); });