Skip to content

Commit

Permalink
Fix ember-canary related issue
Browse files Browse the repository at this point in the history
Ember.DefaultResolver is no more, so rather trying to use it, we will
simply rely on the basic resolver protocol. That way, not concrete
object is needed, and we are future proof until such time as that
changes.
  • Loading branch information
stefanpenner committed Aug 4, 2021
1 parent 2fc0036 commit aecd1a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

A test-framework-agnostic set of helpers for testing Ember.js applications


Compatibility
------------------------------------------------------------------------------

Expand Down
5 changes: 1 addition & 4 deletions tests/helpers/resolver.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Ember from 'ember';
import { dasherize } from '@ember/string';
import { assign } from '@ember/polyfills';
import { setRegistry } from '../../resolver';
import { setResolver, setApplication } from '@ember/test-helpers';
Expand Down Expand Up @@ -40,6 +38,5 @@ export function createCustomResolver(registry) {
resolve(fullName) {
return this.registry[fullName];
},

}
};
}

0 comments on commit aecd1a0

Please sign in to comment.