Skip to content

Commit

Permalink
[Obs AI Assistant] Fix test with mocked getAdHocInstructions function (
Browse files Browse the repository at this point in the history
  • Loading branch information
viduni94 committed Oct 30, 2024
1 parent 75c6d7b commit 816534e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ describe('Observability AI Assistant client', () => {
knowledgeBaseServiceMock.getUserInstructions.mockResolvedValue([]);

functionClientMock.getInstructions.mockReturnValue(['system']);
functionClientMock.getAdhocInstructions.mockReturnValue([]);

return new ObservabilityAIAssistantClient({
actionsClient: actionsClientMock,
Expand Down

0 comments on commit 816534e

Please sign in to comment.