Skip to content

Commit

Permalink
fix: fix UT error
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinGu07 committed Jul 17, 2024
1 parent ca5a54d commit bc8c25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vscode-extension/test/officeChat/handlers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ Usage: @office Ask questions about Office Add-ins development.`);
const showOpenDialogStub = sandbox
.stub(vscode.window, "showOpenDialog")
.resolves(customFolder);
sandbox.stub(fs, "pathExistsSync").resolves(false);
sandbox.stub(fs, "pathExistsSync").returns(false);
sandbox.stub(localizeUtils, "localize").returns("Default folder");
await handler.chatCreateOfficeProjectCommandHandler(
"fakeFolder",
Expand Down

0 comments on commit bc8c25b

Please sign in to comment.