-
Notifications
You must be signed in to change notification settings - Fork 159
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
[unit-tests-only] Implemented todo
unit tests for route helper
#5795
Conversation
b83b89d
to
d9863d0
Compare
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍🏼
d9863d0
to
f990d9d
Compare
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🤖 thanks for taking care & sorry the review took so long!
it.todo('should return "false" if given route meta auth is "true"') | ||
it.todo('should return "true" if given route meta auth is "false"') | ||
it('should return "false" if given route has no meta information', () => { | ||
expect(isPublicPage({ name: 'files-public-list' })).toBe(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
files-public-list returns false
when checked if it is a public page? 🤔 we need to check our code, it's not the test that is falsy I think
Description
todo
unit tests forroute
helperRelated Issue
Types of changes
Checklist: