Skip to content

Commit 695bc2c

Browse files
committed
Fixed incorrect span check
1 parent d81ba39 commit 695bc2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ember/tests/acceptance/sentry-performance-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function assertSentryCall(assert, callNumber, options) {
3030

3131
// FIXME: For some reason, the last `afterRender` and `destroy` run queue event are not always called.
3232
// This is not a blocker, but should be investigated and fixed, as this is the expected output.
33-
if (event.spans[event.spans.length - 1] !== 'ember.runloop.afterRender | undefined') {
33+
if (event.spans[event.spans.length - 1] === 'ember.runloop.render | undefined') {
3434
event.spans.push('ember.runloop.afterRender | undefined');
3535
}
3636
if (event.spans[event.spans.length - 1] !== 'ember.runloop.destroy | undefined') {

0 commit comments

Comments
 (0)