Skip to content

Commit

Permalink
refactor test case names for iris
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetsenturk committed Feb 17, 2025
1 parent b5a9f86 commit 42ffbec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ describe('IrisBaseChatbotComponent', () => {
expect(component).toBeTruthy();
});

it('should set hasUserAcceptedExternalLLMUsage to false if user has not accepted the policy', () => {
it('should set userAccepted to false if user has not accepted the external LLM usage policy', () => {
accountMock.userIdentity.externalLLMUsageAccepted = undefined;
component.ngOnInit();
expect(component.userAccepted).toBeFalse();
});

it('should set hasUserAcceptedExternalLLMUsage to true if user has accepted the policy', () => {
it('should set userAccepted to true if user has accepted the external LLM usage policy', () => {
component.ngOnInit();
expect(component.userAccepted).toBeTrue();
});
Expand Down

0 comments on commit 42ffbec

Please sign in to comment.