Skip to content

chore: remove globals in favour of local declaration#2073

Merged
thisislawatts merged 1 commit intomasterfrom
chore/remove-unused-globals
Jan 25, 2023
Merged

chore: remove globals in favour of local declaration#2073
thisislawatts merged 1 commit intomasterfrom
chore/remove-unused-globals

Conversation

@thisislawatts
Copy link
Contributor

PR Checklist

PR Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Developer experience (improves developer workflows for contributing to the project)

Description

The original file location suggested these objects were mocks, instead they are used as part of the UI presentation to end users. As they are only used in a single place, moving their declaration to the relevant component until having them in a shared location is required.

@thisislawatts thisislawatts requested a review from a team as a code owner January 23, 2023 19:58
@thisislawatts thisislawatts self-assigned this Jan 23, 2023
@cypress
Copy link

cypress bot commented Jan 23, 2023



Test summary

52 0 0 0Flakiness 1


Run details

Project onearmy-community-platform
Status Passed
Commit d81c331
Started Jan 23, 2023 8:04 PM
Ended Jan 23, 2023 8:07 PM
Duration 03:10 💡
OS Linux Ubuntu -
Browser Chrome 109

View run in Cypress Dashboard ➡️


Flakiness

src/integration/common.spec.ts Flakiness
1 [Common] > [User Menu] > [By Authenticated]

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Copy link
Member

@chrismclarke chrismclarke left a comment

Choose a reason for hiding this comment

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

Makes sense to me, thanks @thisislawatts

@thisislawatts thisislawatts merged commit ce0391c into master Jan 25, 2023
@thisislawatts thisislawatts deleted the chore/remove-unused-globals branch January 25, 2023 04:05
@onearmy-bot
Copy link
Collaborator

🎉 This PR is included in version 1.35.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants