We do have an instrumentation argument, however, it is not honored in the shared test rule at this point in time.
|
fun isAiEnabled(): Boolean { |
|
val aiEnabled = instrumentationArguments.getString("trailblaze.ai.enabled", "false").toBoolean() |
|
return aiEnabled |
|
} |
We do have an instrumentation argument, however, it is not honored in the shared test rule at this point in time.
trailblaze/trailblaze-android/src/main/java/xyz/block/trailblaze/android/InstrumentationArgUtil.kt
Lines 31 to 34 in e344991