google-developer-training / basic-android-kotlin-compose-training-unscramble

Apache License 2.0
98 stars 140 forks source link

Android Basics: Viewmodel and State with Compose #141

Open HannahMcKeeInstil opened 1 year ago

HannahMcKeeInstil commented 1 year ago
CodeLab Step
Write unit tests for ViewModel Step 3: Add Test Dependencies

Instruction: Add dependencies

androidTestImplementation(platform("androidx.compose:compose-bom:2023.06.01"))
androidTestImplementation("androidx.compose.ui:ui-test-junit4")

This gives a pile of unresolved reference errors.

I think this should be:

testImplementation(platform("androidx.compose:compose-bom:2023.06.01"))
testImplementation("androidx.compose.ui:ui-test-junit4")