Add OmitFromCoverage annotation to exclude special cases (#318)

This commit is contained in:
Brian Yencho
2023-12-04 18:40:37 -06:00
committed by Álison Fernandes
parent 19df16d049
commit f8fefae3b8
4 changed files with 21 additions and 2 deletions

View File

@@ -144,7 +144,9 @@ koverReport {
excludes {
annotatedBy(
// Compose previews
"androidx.compose.ui.tooling.preview.Preview"
"androidx.compose.ui.tooling.preview.Preview",
// Manually excluded classes/files/etc.
"com.x8bit.bitwarden.data.platform.annotation.OmitFromCoverage"
)
classes(
// Navigation helpers