dist/ember-testing.js in ember-source-2.9.0.beta.3 vs dist/ember-testing.js in ember-source-2.9.0.beta.4
- old
+ new
@@ -4,11 +4,11 @@
* @copyright Copyright 2011-2016 Tilde Inc. and contributors
* Portions Copyright 2006-2011 Strobe Inc.
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
- * @version 2.9.0-beta.3
+ * @version 2.9.0-beta.4
*/
var enifed, requireModule, require, Ember;
var mainContext = this;
@@ -560,11 +560,11 @@
(function () {
// Complain if they're using FEATURE flags in builds other than canary
_emberMetal.FEATURES['features-stripped-test'] = true;
var featuresWereStripped = true;
- if (_emberMetal.isFeatureEnabled('features-stripped-test')) {
+ if (false) {
featuresWereStripped = false;
}
delete _emberMetal.FEATURES['features-stripped-test'];
_warnIfUsingStrippedFeatureFlags(_emberEnvironment.ENV.FEATURES, _emberMetal.DEFAULT_FEATURES, featuresWereStripped);
@@ -1847,11 +1847,11 @@
resolve: _emberTestingTestPromise.resolve,
registerWaiter: _emberTestingTestWaiters.registerWaiter,
unregisterWaiter: _emberTestingTestWaiters.unregisterWaiter
};
- if (_emberMetal.isFeatureEnabled('ember-testing-check-waiters')) {
+ if (true) {
Test.checkWaiters = _emberTestingTestWaiters.checkWaiters;
}
/**
Used to allow ember-testing to communicate with a specific testing
@@ -2358,10 +2358,10 @@
}
return -1;
}
function generateDeprecatedWaitersArray() {
- _emberMetal.deprecate('Usage of `Ember.Test.waiters` is deprecated. Please refactor to `Ember.Test.checkWaiters`.', !_emberMetal.isFeatureEnabled('ember-testing-check-waiters'), { until: '2.8.0', id: 'ember-testing.test-waiters' });
+ _emberMetal.deprecate('Usage of `Ember.Test.waiters` is deprecated. Please refactor to `Ember.Test.checkWaiters`.', !true, { until: '2.8.0', id: 'ember-testing.test-waiters' });
var array = new Array(callbacks.length);
for (var i = 0; i < callbacks.length; i++) {
var context = contexts[i];
var callback = callbacks[i];