Skip to content

fix agg metrics, don't use "for .. in .." on JS arrays

Codecov / codecov/patch failed Aug 19, 2024 in 0s

0.00% of diff hit (target 30.09%)

View this Pull Request on Codecov

0.00% of diff hit (target 30.09%)

Annotations

Check warning on line 134 in www/js/metrics/CarbonFootprintCard.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

www/js/metrics/CarbonFootprintCard.tsx#L134

Added line #L134 was not covered by tests

Check warning on line 138 in www/js/metrics/CarbonFootprintCard.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

www/js/metrics/CarbonFootprintCard.tsx#L138

Added line #L138 was not covered by tests

Check warning on line 140 in www/js/metrics/CarbonFootprintCard.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

www/js/metrics/CarbonFootprintCard.tsx#L140

Added line #L140 was not covered by tests

Check warning on line 110 in www/js/metrics/CarbonTextCard.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

www/js/metrics/CarbonTextCard.tsx#L110

Added line #L110 was not covered by tests

Check warning on line 114 in www/js/metrics/CarbonTextCard.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

www/js/metrics/CarbonTextCard.tsx#L114

Added line #L114 was not covered by tests

Check warning on line 116 in www/js/metrics/CarbonTextCard.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

www/js/metrics/CarbonTextCard.tsx#L116

Added line #L116 was not covered by tests