@@ -4,6 +4,7 @@ import { _startChild } from '../../../src/browser/metrics/utils';
44
55describe ( '_startChild()' , ( ) => {
66 it ( 'creates a span with given properties' , ( ) => {
7+ // eslint-disable-next-line deprecation/deprecation
78 const transaction = new Transaction ( { name : 'test' } ) ;
89 const span = _startChild ( transaction , {
910 description : 'evaluation' ,
@@ -16,6 +17,7 @@ describe('_startChild()', () => {
1617 } ) ;
1718
1819 it ( 'adjusts the start timestamp if child span starts before transaction' , ( ) => {
20+ // eslint-disable-next-line deprecation/deprecation
1921 const transaction = new Transaction ( { name : 'test' , startTimestamp : 123 } ) ;
2022 const span = _startChild ( transaction , {
2123 description : 'script.js' ,
@@ -28,6 +30,7 @@ describe('_startChild()', () => {
2830 } ) ;
2931
3032 it ( 'does not adjust start timestamp if child span starts after transaction' , ( ) => {
33+ // eslint-disable-next-line deprecation/deprecation
3134 const transaction = new Transaction ( { name : 'test' , startTimestamp : 123 } ) ;
3235 const span = _startChild ( transaction , {
3336 description : 'script.js' ,
0 commit comments