Skip to content

Commit 4fb68b2

Browse files
committed
Fix lint issue in rate metric code
1 parent 9198bed commit 4fb68b2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

glean/src/core/metrics/types/rate.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import { MetricType } from "../index.js";
77
import { Context } from "../../context.js";
88
import { Metric } from "../metric.js";
99
import { testOnly } from "../../utils.js";
10-
import { isNumber, isObject, JSONValue } from "../../utils.js";
10+
import { isNumber, isObject } from "../../utils.js";
11+
import type { JSONValue } from "../../utils.js";
1112
import { ErrorType } from "../../error/error_type.js";
1213

1314
const LOG_TAG = "core.metrics.RateMetricType";

glean/tests/unit/core/metrics/rate.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ describe("RateMetric", function() {
4343
metric.add_to_denominator(7);
4444

4545
assert.deepStrictEqual(await metric.testGetValue("aPing"), {numerator: 22, denominator: 7});
46-
});
46+
});
4747
});

0 commit comments

Comments
 (0)