Closed marcosnav closed 18 hours ago
Really like to see the removal of the bus for just function calls since everything is in Home View
Yes, this makes sense since we have moved away from the multiple classes, which required the bus for notifications.
Intent
This PR aims to promote having a better test coverage in the project.
homeView
toPublisherState
as the responsibility for those operations is better suited there.@hypersphere/omnibus
and the existing bus instance. Usage of the bus wasn't justifying having it since calls were pretty localized and, on the contrary, complicated creating tests.fishery
and created some factories to create instances of data for tests.vscode
instances ofExtensionContext
.PublisherState
methods making use of all the previous points above.User Impact
No functional impact for the end user.
Automated Tests
This is all about it.
Directions for Reviewers
No specific directions. Open to feedback.
Checklist