Skip to content
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

Enable component testing in apps #25

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Enable component testing in apps #25

merged 1 commit into from
Aug 21, 2023

Conversation

jayohms
Copy link
Collaborator

@jayohms jayohms commented Aug 21, 2023

This avoids accessing the bridge directly from within the BridgeComponent class to enable component testing in apps by mocking the component's delegate. Apps can test tests messages that are called through BridgeDelegate.replyWith(message).

…apps is possible through the delegate directly
@jayohms jayohms requested a review from svara August 21, 2023 19:41
@jayohms
Copy link
Collaborator Author

jayohms commented Aug 21, 2023

@svara merging this over so I can push a new release version. Let me know if you have any feedback.

@jayohms jayohms merged commit 78454b6 into main Aug 21, 2023
1 check passed
@jayohms jayohms deleted the enable-component-tests branch August 21, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant