@@ -73,7 +73,7 @@ describe('CUMULATIVE', () => {
7373
7474 let metric = instance . getMetric ( ) ;
7575 assert . deepStrictEqual ( metric ! . descriptor , expectedMetricDescriptor ) ;
76- assert . equal ( metric ! . timeseries . length , 1 ) ;
76+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
7777 assert . deepStrictEqual ( metric ! . timeseries , [ {
7878 labelValues : LABEL_VALUES_200 ,
7979 points : [ { value : 1 , timestamp : mockedTime } ] ,
@@ -86,7 +86,7 @@ describe('CUMULATIVE', () => {
8686 point1 . inc ( ) ;
8787 metric = instance . getMetric ( ) ;
8888 assert . deepStrictEqual ( metric ! . descriptor , expectedMetricDescriptor ) ;
89- assert . equal ( metric ! . timeseries . length , 2 ) ;
89+ assert . strictEqual ( metric ! . timeseries . length , 2 ) ;
9090 assert . deepStrictEqual ( metric ! . timeseries , [
9191 {
9292 labelValues : LABEL_VALUES_200 ,
@@ -136,7 +136,7 @@ describe('CUMULATIVE', () => {
136136 point . inc ( ) ;
137137 const metric = instance . getMetric ( ) ;
138138 assert . deepStrictEqual ( metric ! . descriptor , expectedMetricDescriptor ) ;
139- assert . equal ( metric ! . timeseries . length , 1 ) ;
139+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
140140 assert . deepStrictEqual ( metric ! . timeseries , [ {
141141 labelValues : LABEL_VALUES_200 ,
142142 points : [ { value : 1 , timestamp : mockedTime } ] ,
@@ -149,7 +149,7 @@ describe('CUMULATIVE', () => {
149149 point . inc ( 10 ) ;
150150 let metric = instance . getMetric ( ) ;
151151 assert . deepStrictEqual ( metric ! . descriptor , expectedMetricDescriptor ) ;
152- assert . equal ( metric ! . timeseries . length , 1 ) ;
152+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
153153 assert . deepStrictEqual ( metric ! . timeseries , [ {
154154 labelValues : LABEL_VALUES_200 ,
155155 points : [ { value : 10 , timestamp : mockedTime } ] ,
@@ -160,7 +160,7 @@ describe('CUMULATIVE', () => {
160160 point1 . inc ( 30 ) ;
161161 metric = instance . getMetric ( ) ;
162162 assert . deepStrictEqual ( metric ! . descriptor , expectedMetricDescriptor ) ;
163- assert . equal ( metric ! . timeseries . length , 1 ) ;
163+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
164164 assert . deepStrictEqual ( metric ! . timeseries , [ {
165165 labelValues : LABEL_VALUES_200 ,
166166 points : [ { value : 40 , timestamp : mockedTime } ] ,
@@ -181,7 +181,7 @@ describe('CUMULATIVE', () => {
181181
182182 const metric = instance . getMetric ( ) ;
183183 assert . deepStrictEqual ( metric ! . descriptor , expectedMetricDescriptor ) ;
184- assert . equal ( metric ! . timeseries . length , 1 ) ;
184+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
185185 assert . deepStrictEqual (
186186 metric ! . timeseries , [ {
187187 labelValues : [ UNSET_LABEL_VALUE ] ,
@@ -202,7 +202,7 @@ describe('CUMULATIVE', () => {
202202 instance . getOrCreateTimeSeries ( [ { value : '400' } , { value : '200' } ] ) ;
203203 point1 . inc ( 400 ) ;
204204 const metric = instance . getMetric ( ) ;
205- assert . equal ( metric ! . timeseries . length , 1 ) ;
205+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
206206 } ) ;
207207
208208 it ( 'should add constant labels' , ( ) => {
@@ -214,8 +214,8 @@ describe('CUMULATIVE', () => {
214214 instance . getOrCreateTimeSeries ( [ { value : '200' } , { value : '400' } ] ) ;
215215 point . inc ( 200 ) ;
216216 const metric = instance . getMetric ( ) ;
217- assert . equal ( metric ! . descriptor . type , 5 ) ;
218- assert . equal ( metric ! . timeseries . length , 1 ) ;
217+ assert . strictEqual ( metric ! . descriptor . type , 5 ) ;
218+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
219219 assert . deepStrictEqual ( metric ! . descriptor . labelKeys , [
220220 { key : 'k1' , description : 'desc' } , { key : 'k2' , description : 'desc' } ,
221221 { key : 'host' , description : 'host' }
@@ -241,7 +241,7 @@ describe('CUMULATIVE', () => {
241241 const metric = instance . getMetric ( ) ;
242242 assert . deepStrictEqual ( metric ! . descriptor . labelKeys . length , 3 ) ;
243243 assert . deepStrictEqual ( metric ! . descriptor . type , 5 ) ;
244- assert . equal ( metric ! . timeseries . length , 1 ) ;
244+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
245245 assert . deepStrictEqual (
246246 metric ! . timeseries , [ {
247247 labelValues :
@@ -256,7 +256,7 @@ describe('CUMULATIVE', () => {
256256 point . inc ( 300 ) ;
257257 let metric = instance . getMetric ( ) ;
258258 assert . deepStrictEqual ( metric ! . descriptor , expectedMetricDescriptor ) ;
259- assert . equal ( metric ! . timeseries . length , 1 ) ;
259+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
260260 assert . deepStrictEqual ( metric ! . timeseries , [ {
261261 labelValues : [ UNSET_LABEL_VALUE ] ,
262262 points : [ { value : 300 , timestamp : mockedTime } ] ,
@@ -267,7 +267,7 @@ describe('CUMULATIVE', () => {
267267 point1 . inc ( 400 ) ;
268268 metric = instance . getMetric ( ) ;
269269 assert . deepStrictEqual ( metric ! . descriptor , expectedMetricDescriptor ) ;
270- assert . equal ( metric ! . timeseries . length , 1 ) ;
270+ assert . strictEqual ( metric ! . timeseries . length , 1 ) ;
271271 assert . deepStrictEqual ( metric ! . timeseries , [ {
272272 labelValues : [ UNSET_LABEL_VALUE ] ,
273273 points : [ { value : 700 , timestamp : mockedTime } ] ,
@@ -296,7 +296,7 @@ describe('CUMULATIVE', () => {
296296 point1 . inc ( 10 ) ;
297297 let metric = instance . getMetric ( ) ;
298298 assert . deepStrictEqual ( metric ! . descriptor , expectedMetricDescriptor ) ;
299- assert . equal ( metric ! . timeseries . length , 2 ) ;
299+ assert . strictEqual ( metric ! . timeseries . length , 2 ) ;
300300 instance . clear ( ) ;
301301 metric = instance . getMetric ( ) ;
302302 assert . deepStrictEqual ( metric , null ) ;
0 commit comments