I'm running this function in the `kotlin` block af...
# multiplatform
I'm running this function in the
block after I setup the targets, and I make sure I add the AndroidX test runner dependency:
Copy code
fun KotlinMultiplatformExtension.setupAndroidTestSourceSetsAndDependencies() {
    val androidTargets = targets.filterIsInstance<KotlinAndroidTarget>()
    if (androidTargets.isEmpty()) return
    val project = androidTargets.first().project
    project.configurations.matching { it.name.startsWith("androidTest") }.all {
        val configurationName = name
        dependencies.all {
            val dependency = this
            project.dependencies {
                configurationName.replaceFirst("androidTest", "test")(dependency)