Ignore OnBoardingPresenter regarding code coverage.
This commit is contained in:
Generated
+1
@@ -2,6 +2,7 @@
|
||||
<dictionary name="shared">
|
||||
<words>
|
||||
<w>backstack</w>
|
||||
<w>kover</w>
|
||||
<w>onboarding</w>
|
||||
<w>textfields</w>
|
||||
</words>
|
||||
|
||||
@@ -203,6 +203,8 @@ koverMerged {
|
||||
includes += "*Presenter"
|
||||
excludes += "*Fake*Presenter"
|
||||
excludes += "io.element.android.appnav.loggedin.LoggedInPresenter$*"
|
||||
// Too small presenter, cannot reach the threshold.
|
||||
excludes += "io.element.android.features.onboarding.impl.OnBoardingPresenter"
|
||||
}
|
||||
bound {
|
||||
minValue = 90
|
||||
|
||||
+4
@@ -20,6 +20,10 @@ import androidx.compose.runtime.Composable
|
||||
import io.element.android.libraries.architecture.Presenter
|
||||
import javax.inject.Inject
|
||||
|
||||
/**
|
||||
* Note: this Presenter is ignored regarding code coverage because it cannot reach the coverage threshold.
|
||||
* When this presenter get more code in it, please remove the ignore rule in the kover configuration.
|
||||
*/
|
||||
class OnBoardingPresenter @Inject constructor(
|
||||
) : Presenter<OnBoardingState> {
|
||||
@Composable
|
||||
|
||||
Reference in New Issue
Block a user