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

Expose UI configuration state flow for testing #1514

Merged
merged 6 commits into from
Sep 27, 2023

Conversation

JakeWharton
Copy link
Collaborator

No description provided.

@@ -142,4 +145,20 @@ class ViewTreesTest {

assertThat(widgetContainer.map { it.value }).isEqualTo(snapshot)
}

@Test fun uiConfigurationWorks() = runTest {
TestSchemaTester {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think I want to pipe the ability to specify the initial UiConfiguration instance through to this generated function. But I'll do that as a follow-up.

…/TestRedwoodComposition.kt

Co-authored-by: Veyndan Stuart <[email protected]>
@JakeWharton JakeWharton enabled auto-merge (squash) September 27, 2023 12:01
@JakeWharton JakeWharton merged commit 6e98c9b into trunk Sep 27, 2023
8 checks passed
@JakeWharton JakeWharton deleted the jw.ui-config-testing.2023-09-26 branch September 27, 2023 14:24
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.

2 participants