PSA, don’t construct new CoroutineScopes 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.