A test can use a TestCoroutineDispatcher without declaring an explicit TestCoroutineScope . ... 如何使用Kotlin协程注入viewModelScope for Android单元测试?
確定! 回上一頁