@AddTrace(name = "getCustomers")
override suspend fun getCustomers(isDeleted: Boolean): List<Customer> {}
The code requires FirebaseApp and FirebasePerf but I don't need them. I am mocking the other Firebase properties required.
How would I ignore @addTrace when calling the function during test.
I had this problem, and a weird solution : In my
build.gradle.kts, I check if I'm in a test context, and I set thesetInstrumentationEnabledproperty according to.