-
Notifications
You must be signed in to change notification settings - Fork 31
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 eventBus #324
Comments
TheGreatRefrigerator
added a commit
that referenced
this issue
Jan 26, 2023
- remove unused lines from map-view.js that conflict with test, as the translation returned is a string instead of an object - contains code to be uncommented or adjusted after #324 has been dealt with - remove old spec
TheGreatRefrigerator
added a commit
that referenced
this issue
Jan 27, 2023
- remove unused lines from map-view.js that conflict with test, as the translation returned is a string instead of an object - contains code to be uncommented or adjusted after #324 has been dealt with - remove old spec
TheGreatRefrigerator
added a commit
that referenced
this issue
Jan 27, 2023
- remove unused lines from map-view.js that conflict with test, as the translation returned is a string instead of an object - contains code to be uncommented or adjusted after #324 has been dealt with - remove old spec
koebi
added a commit
that referenced
this issue
Jan 30, 2023
TheGreatRefrigerator
pushed a commit
that referenced
this issue
Jan 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the
eventBus
is attached to the vue instance which only makes it usable in specific scopes or requires the passing of those to the next scope (e.g. to promise).During testing it is not usable consistently (exists e.g. during
MapView
component testing but doesn't duringApp
component testing.).Should be refactored to be a standalone
common
module, that can be imported on demand and directly be used.Enables consistent testing using cypress spies.
To do:
Implementation similar to https://www.digitalocean.com/community/tutorials/vuejs-global-event-bus
and replacement of
*.eventBus.*
withEventBus.*
(+ import)The text was updated successfully, but these errors were encountered: