Updated on 2026-08-14

This commit is contained in:
Tangem 2026-06-03 19:57:47 +04:00
parent 3cc0a643e9
commit 642190f7c6
98 changed files with 317 additions and 202 deletions

View file

@ -42,11 +42,16 @@ dependencies {
// endregion
// region tests
testImplementation(deps.test.junit)
testImplementation(deps.test.junit5)
testRuntimeOnly(deps.test.junit5.engine)
testImplementation(deps.test.coroutine)
testImplementation(deps.test.truth)
testImplementation(deps.test.mockk)
testImplementation(deps.moshi)
testImplementation(deps.moshi.kotlin)
// endregion
}
tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

View file

@ -9,7 +9,7 @@ import io.mockk.coVerify
import io.mockk.every
import io.mockk.mockk
import kotlinx.coroutines.test.runTest
import org.junit.Test
import org.junit.jupiter.api.Test
import androidx.datastore.preferences.core.Preferences
import com.squareup.moshi.Moshi
import androidx.datastore.core.DataStore

View file

@ -26,7 +26,7 @@ import io.mockk.every
import io.mockk.mockk
import kotlinx.coroutines.flow.flowOf
import kotlinx.coroutines.test.runTest
import org.junit.Test
import org.junit.jupiter.api.Test
class DefaultPushNotificationsRepositoryTest {
private val tangemTechApi: TangemTechApi = mockk()