Skip to content

Commit 9aa88da

Browse files
committed
Fixed roboletric tests on RN 0.81.5
1 parent ede245e commit 9aa88da

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ dependencies {
144144
if ("Playground".toLowerCase() == rootProject.name.toLowerCase()) {
145145
// tests only for our playground
146146
testImplementation 'junit:junit:4.13.2'
147-
testImplementation "org.robolectric:robolectric:4.14.1"
147+
testImplementation "org.robolectric:robolectric:4.16"
148148
testImplementation 'org.assertj:assertj-core:3.11.1'
149149
testImplementation 'org.mockito:mockito-core:4.0.0'
150150
testImplementation 'com.squareup.assertj:assertj-android:1.2.0'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Android SDK 36 requires Java 21, so we force SDK 35 for tests (works with Java 17)
2+
sdk=35
3+

0 commit comments

Comments
 (0)