<@U0L8Y9QLV>: `Method getMainLooper in android.os....
# spek
a
@jasper:
Method getMainLooper in android.os.Looper not mocked.
means that you’re trying to use class (in particular
Looper
) from Android SDK during jvm tests, Android Gradle Plugin creates
mocked
jar of Android SDK classes without implementation. It’s not related to Spek and there are several solutions: * Don’t touch Android SDK classes in jvm tests * Use Robolectric * Write test as instrumentation test to run it on device/emulator instead of jvm