@@ -57,23 +57,23 @@ describe('12_webvitalsAsCustomEvent', () => {
57
57
// cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
58
58
// });
59
59
60
- expectOneMatching ( beacons , beacon => {
61
- cexpect ( beacon . ty ) . to . equal ( 'cus' ) ;
62
- cexpect ( beacon . ts ) . to . be . a ( 'string' ) ;
63
- cexpect ( beacon . n ) . to . equal ( 'instana-webvitals-CLS' ) ;
64
- cexpect ( beacon . l ) . to . be . a ( 'string' ) ;
65
- cexpect ( beacon . pl ) . to . equal ( pageLoadBeacon . t ) ;
66
- cexpect ( beacon . m_id ) . to . match ( / ^ v \d + ( - \d + ) + $ / ) ;
67
- } ) ;
68
-
69
60
// expectOneMatching(beacons, beacon => {
70
61
// cexpect(beacon.ty).to.equal('cus');
71
62
// cexpect(beacon.ts).to.be.a('string');
72
- // cexpect(beacon.n).to.equal('instana-webvitals-INP ');
63
+ // cexpect(beacon.n).to.equal('instana-webvitals-CLS ');
73
64
// cexpect(beacon.l).to.be.a('string');
74
65
// cexpect(beacon.pl).to.equal(pageLoadBeacon.t);
75
66
// cexpect(beacon.m_id).to.match(/^v\d+(-\d+)+$/);
76
67
// });
68
+
69
+ expectOneMatching ( beacons , beacon => {
70
+ cexpect ( beacon . ty ) . to . equal ( 'cus' ) ;
71
+ cexpect ( beacon . ts ) . to . be . a ( 'string' ) ;
72
+ cexpect ( beacon . n ) . to . equal ( 'instana-webvitals-INP' ) ;
73
+ cexpect ( beacon . l ) . to . be . a ( 'string' ) ;
74
+ cexpect ( beacon . pl ) . to . equal ( pageLoadBeacon . t ) ;
75
+ cexpect ( beacon . m_id ) . to . match ( / ^ v \d + ( - \d + ) + $ / ) ;
76
+ } ) ;
77
77
} ) ;
78
78
} ) ;
79
79
} ) ;
0 commit comments