Fixing environment from top level
MODIFY
config/environment.js
config/environment.js
-/* eslint-env node */
'use strict';
-module.exports = function(environment) {
- let ENV = {
- APP: {},
- };
-
- if (environment === 'test') {
- ENV.APP.autoboot = false;
- }
-
- return ENV;
+module.exports = function(/* environment, appConfig */) {
+ return {};
};

MODIFY
tests/dummy/config/environment.js
tests/dummy/config/environment.js
@@ -41,9 +41,7 @@ module.exports = function(environment) {
ENV.APP.LOG_VIEW_LOOKUPS = false;
ENV.APP.rootElement = '#ember-testing';
- }
-
- if (environment === 'production') {
+ ENV.APP.autoboot = false;
}
return ENV;

Fixing environment from top level