Hi, I’m getting the following error in my initializer tests:
Error: Using the globals resolver is deprecated. Use the ember-resolver package instead. See https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver
I’m trying to silence it as I’m unable to fix it but cannot even do that. In deprecation-workflow I have the following, but neither works:
{ handler: 'silence', matchId: 'ember.globals-resolver' },
{ handler: 'silence', matchId: 'ember.deprecate-globals-resolver' },
As a side note, here is the code from my app.js:
import Application from '@ember/application';
import loadInitializers from 'ember-load-initializers';
import config from 'app-name/config/environment';
import Resolver from 'ember-resolver';
export default class App extends Application {
modulePrefix = config.modulePrefix;
podModulePrefix = config.podModulePrefix;
Resolver = Resolver;
}
loadInitializers(App, config.modulePrefix);
Thanks!