Skip to content

Commit c2a30ec

Browse files
build(android): enable isIncludeAndroidResources in unitTests block for Robolectric Compose tests
1 parent 0b77d0b commit c2a30ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mobile/app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ android {
6464

6565
testOptions {
6666
unitTests {
67+
isIncludeAndroidResources = true
6768
// Some code paths under test (e.g. GatewayClient's catch-and-log
6869
// swallow) call android.util.Log, which is a stub that throws by
6970
// default under plain JUnit (no Robolectric). This makes Log.*

0 commit comments

Comments
 (0)