PSA, don’t construct new CoroutineScope
s and break structured concurrency in your classes.
class TransactionsDb(dispatchers: MyDispatchers) {
private val scope = CoroutineScope(dispatchers.io)
}
This can cause tests to pass when an exception is thrown.