Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-mcmanus committed Dec 3, 2024
1 parent d298adf commit de21b83
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,17 +130,17 @@ describe('CppConfigurationLanguageModelTool Tests', () => {
});

const arrangeChatContextFromCppTools = ({ chatContextFromCppTools, isCpp, isHeaderFile }:
{ chatContextFromCppTools?: ChatContextResult; isCpp?: boolean; isHeaderFile?: boolean } =
{ chatContextFromCppTools: undefined, isCpp: undefined, isHeaderFile: false }
{ chatContextFromCppTools?: ChatContextResult; isCpp?: boolean; isHeaderFile?: boolean } =
{ chatContextFromCppTools: undefined, isCpp: undefined, isHeaderFile: false }
) => {
activeClientStub.getChatContext.resolves(chatContextFromCppTools);
sinon.stub(util, 'isCpp').returns(isCpp ?? true);
sinon.stub(util, 'isHeaderFile').returns(isHeaderFile ?? false);
};

const arrangeProjectContextFromCppTools = ({ projectContextFromCppTools, isCpp, isHeaderFile }:
{ projectContextFromCppTools?: ProjectContextResult; isCpp?: boolean; isHeaderFile?: boolean } =
{ projectContextFromCppTools: undefined, isCpp: undefined, isHeaderFile: false }
{ projectContextFromCppTools?: ProjectContextResult; isCpp?: boolean; isHeaderFile?: boolean } =
{ projectContextFromCppTools: undefined, isCpp: undefined, isHeaderFile: false }
) => {
activeClientStub.getProjectContext.resolves(projectContextFromCppTools);
sinon.stub(util, 'isCpp').returns(isCpp ?? true);
Expand Down

0 comments on commit de21b83

Please sign in to comment.