Does anyone know the right way to get the Applicat...
# multiplatform
m
Does anyone know the right way to get the Application Context for testing in android unit tests in a multiplatform project? I’ve tried using
androidx.test.core.app.ApplicationProvider.getApplicationContext<Context>()
along with
@RunWith(AndroidJUnit4::class)
at the top of my class, but when running it tells me “No instrumentation registered! Must run under a registering instrumentation.”