2018-01-20 00:46:47 -08:00
|
|
|
import Application from '../app';
|
|
|
|
import config from '../config/environment';
|
|
|
|
import { setApplication } from '@ember/test-helpers';
|
|
|
|
import { start } from 'ember-qunit';
|
2018-08-13 15:01:19 -07:00
|
|
|
import { registerDeprecationHandler } from '@ember/debug';
|
|
|
|
|
|
|
|
// Suggestion to keep this here until we are ready to handle the deprecation to use definePRoperty for
|
|
|
|
// computed properties. Otherwise, tests and build logs becoming overwhelming to look at
|
|
|
|
registerDeprecationHandler(function(message, { id }, next) {
|
|
|
|
if (!message.includes('defineProperty')) {
|
|
|
|
next(...arguments);
|
|
|
|
}
|
|
|
|
});
|
2018-01-20 00:46:47 -08:00
|
|
|
|
|
|
|
setApplication(Application.create(config.APP));
|
2017-01-17 19:20:46 -08:00
|
|
|
|
2017-10-23 16:50:48 -07:00
|
|
|
start();
|