File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
packages/replay/test/utils Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change
1
+ // eslint-disable-next-line deprecation/deprecation
1
2
import type { ReplayEventType , ReplayEventWithTime } from '../../src' ;
2
3
import { ReplayEventTypeFullSnapshot , ReplayEventTypeIncrementalSnapshot } from '../../src/types' ;
3
4
@@ -8,7 +9,9 @@ export function getTestEvent({
8
9
} : {
9
10
timestamp : number ;
10
11
data ?: any ;
12
+ // eslint-disable-next-line deprecation/deprecation
11
13
type : ReplayEventType ;
14
+ // eslint-disable-next-line deprecation/deprecation
12
15
} ) : ReplayEventWithTime {
13
16
return {
14
17
data : data || { } ,
@@ -17,10 +20,12 @@ export function getTestEvent({
17
20
} ;
18
21
}
19
22
23
+ // eslint-disable-next-line deprecation/deprecation
20
24
export function getTestEventCheckout ( { timestamp, data } : { timestamp : number ; data ?: any } ) : ReplayEventWithTime {
21
25
return getTestEvent ( { timestamp, data, type : ReplayEventTypeFullSnapshot } ) ;
22
26
}
23
27
28
+ // eslint-disable-next-line deprecation/deprecation
24
29
export function getTestEventIncremental ( { timestamp, data } : { timestamp : number ; data ?: any } ) : ReplayEventWithTime {
25
30
return getTestEvent ( { timestamp, data, type : ReplayEventTypeIncrementalSnapshot } ) ;
26
31
}
You can’t perform that action at this time.
0 commit comments