@@ -4,6 +4,7 @@ import { _startChild } from '../../../src/browser/metrics/utils';
4
4
5
5
describe ( '_startChild()' , ( ) => {
6
6
it ( 'creates a span with given properties' , ( ) => {
7
+ // eslint-disable-next-line deprecation/deprecation
7
8
const transaction = new Transaction ( { name : 'test' } ) ;
8
9
const span = _startChild ( transaction , {
9
10
description : 'evaluation' ,
@@ -16,6 +17,7 @@ describe('_startChild()', () => {
16
17
} ) ;
17
18
18
19
it ( 'adjusts the start timestamp if child span starts before transaction' , ( ) => {
20
+ // eslint-disable-next-line deprecation/deprecation
19
21
const transaction = new Transaction ( { name : 'test' , startTimestamp : 123 } ) ;
20
22
const span = _startChild ( transaction , {
21
23
description : 'script.js' ,
@@ -28,6 +30,7 @@ describe('_startChild()', () => {
28
30
} ) ;
29
31
30
32
it ( 'does not adjust start timestamp if child span starts after transaction' , ( ) => {
33
+ // eslint-disable-next-line deprecation/deprecation
31
34
const transaction = new Transaction ( { name : 'test' , startTimestamp : 123 } ) ;
32
35
const span = _startChild ( transaction , {
33
36
description : 'script.js' ,
0 commit comments