Join Slack
Powered by
Why not make login user an extension on CoroutineS...
# kotlintest
s
sam
09/12/2019, 2:31 PM
Why not make login user an extension on CoroutineScope then you can call it on a main scope as well as just call it inside a kotlintest test
s
Sergio Crespo Toubes
09/12/2019, 2:35 PM
Any example please? loginUser is in another class.
s
sam
09/15/2019, 12:57 AM
fun CoroutineScope.loginUser(nick: String, password: String) = ...
Open in Slack
Previous
Next