File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/ember/tests/helpers Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,12 @@ export function assertSentryTransactions(
65
65
66
66
// instead of checking the specific order of runloop spans (which is brittle),
67
67
// we check (below) that _any_ runloop spans are added
68
+ // Also we ignore ui.long-task spans, as they are brittle and may or may not appear
68
69
const filteredSpans = spans
69
- // eslint-disable-next-line deprecation/deprecation
70
- . filter ( span => ! span . op ?. startsWith ( 'ui.ember.runloop.' ) )
70
+ . filter ( span => {
71
+ const op = spanToJSON ( span ) . op ;
72
+ return ! op ?. startsWith ( 'ui.ember.runloop.' ) && ! op ?. startsWith ( 'ui.long-task' ) ;
73
+ } )
71
74
. map ( s => {
72
75
// eslint-disable-next-line deprecation/deprecation
73
76
return `${ s . op } | ${ spanToJSON ( s ) . description } ` ;
You can’t perform that action at this time.
0 commit comments