You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ember.testing is a getter/setter in Ember, and destructuring like this will only read its value at the time the module is evaluated. In this case, Ember.testing will most likely be false when the module is evaluated, then change to trueduring the test. This behavior somewhat recently changed in emberjs/ember-test-helpers#227 (which is included in [email protected] / [email protected]).
I believe the fix here would be to remove the destructuring, and use Ember.testing directly inline.
Ember.testing
is a getter/setter in Ember, and destructuring like this will only read its value at the time the module is evaluated. In this case,Ember.testing
will most likely befalse
when the module is evaluated, then change totrue
during the test. This behavior somewhat recently changed in emberjs/ember-test-helpers#227 (which is included in[email protected]
/[email protected]
).I believe the fix here would be to remove the destructuring, and use
Ember.testing
directly inline.ember-metrics-chameleon-adapter/addon/metrics-adapters/chameleon.js
Line 5 in 85d969f
ember-metrics-chameleon-adapter/addon/metrics-adapters/chameleon.js
Lines 30 to 32 in 85d969f
The text was updated successfully, but these errors were encountered: