Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIH-10346 - Manage team page is not cleared #1454

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

marcogagliardi
Copy link
Contributor

Jira link

VIH-10346

Change description

Added clearUsers function

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

@marcogagliardi marcogagliardi requested review from a team as code owners December 3, 2024 11:46
Copy link
Contributor

@will-craig will-craig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a unit test?

Copy link

sonarcloud bot commented Dec 3, 2024

clientApiSpy.getUserList.and.returnValue(of([]));

// act
service.clearUsers();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont think you need this in the test, you clear on line 152 aswell

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are right. I have removed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants