Skip to content

Commit

Permalink
Fixed Code Coverage activation rule (#149)
Browse files Browse the repository at this point in the history
removed unneeded check for code coverage
  • Loading branch information
ypopovych authored Oct 25, 2024
1 parent 2176979 commit 4bdf18a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sources/DatadogSDKTesting/DDTestMonitor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,7 @@ internal class DDTestMonitor {

if DDTestMonitor.config.coverageMode.isEnabled {
let coverageSetup = BlockOperation { [self] in
guard let settings = tracerBackendConfig?.itr,
settings.itrEnabled && settings.codeCoverage
else {
guard let settings = tracerBackendConfig?.itr, settings.codeCoverage else {
Log.debug("Coverage Disabled")
return
}
Expand Down

0 comments on commit 4bdf18a

Please sign in to comment.