@@ -34,7 +34,7 @@ describe("LabeledMetric", function() {
3434 sendIfEmpty : false ,
3535 } ) ;
3636
37- const labeledCounterMetric = new LabeledMetricType < CounterMetricType > (
37+ const labeledCounterMetric = new LabeledMetricType (
3838 {
3939 category : "telemetry" ,
4040 name : "labeled_counter_metric" ,
@@ -79,7 +79,7 @@ describe("LabeledMetric", function() {
7979 sendIfEmpty : false ,
8080 } ) ;
8181
82- const labeledCounterMetric = new LabeledMetricType < CounterMetricType > (
82+ const labeledCounterMetric = new LabeledMetricType (
8383 {
8484 category : "telemetry" ,
8585 name : "labeled_counter_metric" ,
@@ -126,7 +126,7 @@ describe("LabeledMetric", function() {
126126 } ) ;
127127
128128 it ( "test __other__ label without predefined labels" , async function ( ) {
129- const labeledCounterMetric = new LabeledMetricType < CounterMetricType > (
129+ const labeledCounterMetric = new LabeledMetricType (
130130 {
131131 category : "telemetry" ,
132132 name : "labeled_counter_metric" ,
@@ -151,7 +151,7 @@ describe("LabeledMetric", function() {
151151 } ) ;
152152
153153 it ( "test __other__ label without predefined labels before Glean initialization" , async function ( ) {
154- const labeledCounterMetric = new LabeledMetricType < CounterMetricType > (
154+ const labeledCounterMetric = new LabeledMetricType (
155155 {
156156 category : "telemetry" ,
157157 name : "labeled_counter_metric" ,
@@ -181,7 +181,7 @@ describe("LabeledMetric", function() {
181181 } ) ;
182182
183183 it ( "Ensure invalid labels on labeled counter go to __other__" , async function ( ) {
184- const labeledCounterMetric = new LabeledMetricType < CounterMetricType > (
184+ const labeledCounterMetric = new LabeledMetricType (
185185 {
186186 category : "telemetry" ,
187187 name : "labeled_counter_metric" ,
@@ -203,7 +203,7 @@ describe("LabeledMetric", function() {
203203 } ) ;
204204
205205 it ( "Ensure invalid labels on labeled boolean go to __other__" , async function ( ) {
206- const labeledBooleanMetric = new LabeledMetricType < BooleanMetricType > (
206+ const labeledBooleanMetric = new LabeledMetricType (
207207 {
208208 category : "telemetry" ,
209209 name : "labeled_boolean_metric" ,
@@ -225,7 +225,7 @@ describe("LabeledMetric", function() {
225225 } ) ;
226226
227227 it ( "Ensure invalid labels on labeled string go to __other__" , async function ( ) {
228- const labeledStringMetric = new LabeledMetricType < StringMetricType > (
228+ const labeledStringMetric = new LabeledMetricType (
229229 {
230230 category : "telemetry" ,
231231 name : "labeled_string_metric" ,
@@ -247,7 +247,7 @@ describe("LabeledMetric", function() {
247247 } ) ;
248248
249249 it ( "test labeled string metric type" , async function ( ) {
250- const labeledStringMetric = new LabeledMetricType < StringMetricType > (
250+ const labeledStringMetric = new LabeledMetricType (
251251 {
252252 category : "telemetry" ,
253253 name : "labeled_string_metric" ,
@@ -269,7 +269,7 @@ describe("LabeledMetric", function() {
269269 } ) ;
270270
271271 it ( "test labeled boolean metric type" , async function ( ) {
272- const metric = new LabeledMetricType < BooleanMetricType > (
272+ const metric = new LabeledMetricType (
273273 {
274274 category : "telemetry" ,
275275 name : "labeled_bool" ,
@@ -291,7 +291,7 @@ describe("LabeledMetric", function() {
291291 } ) ;
292292
293293 it ( "dynamic labels regex mismatch" , async function ( ) {
294- const labeledCounterMetric = new LabeledMetricType < CounterMetricType > (
294+ const labeledCounterMetric = new LabeledMetricType (
295295 {
296296 category : "telemetry" ,
297297 name : "labeled_counter_metric" ,
@@ -320,7 +320,7 @@ describe("LabeledMetric", function() {
320320 } ) ;
321321
322322 it ( "dynamic labels regex allowed" , async function ( ) {
323- const labeledCounterMetric = new LabeledMetricType < CounterMetricType > (
323+ const labeledCounterMetric = new LabeledMetricType (
324324 {
325325 category : "telemetry" ,
326326 name : "labeled_counter_metric" ,
@@ -350,7 +350,7 @@ describe("LabeledMetric", function() {
350350 } ) ;
351351
352352 it ( "seen labels get reloaded across initializations" , async function ( ) {
353- const labeledCounterMetric = new LabeledMetricType < CounterMetricType > (
353+ const labeledCounterMetric = new LabeledMetricType (
354354 {
355355 category : "telemetry" ,
356356 name : "labeled_metric" ,
0 commit comments