-
Notifications
You must be signed in to change notification settings - Fork 19
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
refactor: moved constants to separated files #128
Conversation
- encoded the package name to ensure the link will open properly
…into feature/e2e-tests
…d `tag-names.js`
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.
Thanks, see my comments
src/utils/tag-names.js
Outdated
@@ -0,0 +1 @@ | |||
export const packageReportTagName = 'overlay-package-report'; |
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.
Please add the 'overlay-indicator'
to here too.
- deleted `e2e-test-constnats.js`
src/globals.js
Outdated
export const advisoriesNames = Object.keys(advisories); | ||
|
||
export const packageReportTagName = 'overlay-package-report'; | ||
export const tooltipSourceSelector = '.overlay-indicator__tooltip__sources > .overlay-indicator__tooltip__source'; |
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.
Don't know... I prefer the selector to stay in the tests
area.
Hey! This pull request was made a few days ago and still needs changes, but nothing has happened since then. Maybe the current contributor can comment on this? |
Due to a long period of inactivity, this task was unassigned automatically. |
Following this discussion I renamed
PACKAGE_REPORT_SELECTOR
topackageReportTagName
and moved it to a new file calledtag-naems.js