I\'ve written up an application that uses Ember Data. It\'s passing all it\'s tests and running as expected, however, something is causing a repeated deprecation warning to
For Ember 3.8 below code in app/initializers/deprecation.js worked for me. This disables the deprecations while running tests. You can modify according to your needs.
import { registerDeprecationHandler } from '@ember/debug';
import config from 'happyfox-web/config/environment';
export function initialize() {
registerDeprecationHandler((message, options, next) => {
if (config.environment === 'test') {
return;
} else {
next(message, options);
}
});
}
export default { initialize };
Took this from the docs