openfoodfacts-androidapp icon indicating copy to clipboard operation
openfoodfacts-androidapp copied to clipboard

Chore: Migration to the new kotlinx-coroutines-test API

Open teolemon opened this issue 2 years ago • 0 comments

What

  • w: /home/runner/work/openfoodfacts-androidapp/openfoodfacts-androidapp/app/src/test/java/openfoodfacts/github/scrachx/openfood/features/simplescan/SimpleScanViewModelTest.kt: (40, 51): 'runBlockingTest(CoroutineContext = ..., suspend TestCoroutineScope.() -> Unit): Unit' is deprecated. Use runTest instead to support completing from other dispatchers. Please see the migration guide for details: https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md

Steps to reproduce the behavior

  1. Go to latest build

teolemon avatar Feb 27 '22 15:02 teolemon