Skip to content

Commit

Permalink
Fixed incorrect span check
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedetefy committed Jun 21, 2021
1 parent d81ba39 commit 695bc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember/tests/acceptance/sentry-performance-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function assertSentryCall(assert, callNumber, options) {

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

0 comments on commit 695bc2c

Please sign in to comment.