Long shot, but has anyone had any success using mockk with React-Native? I have an extension method on a data class that returns a WritableNativeMap (defined in react-native), but can't seem to mock it, as it's constructor calls a (private) native method, and i'm getting `UnsatisfiedLinkError`s
Jordan Haven
03/22/2023, 4:09 PM
Copy code
public data class MyResult(code: String)
public fun MyResult.toWritableNativeMap() = WritableNativeMap().apply {
putString("result", code)
}