Skip to content

Commit fdd1e4a

Browse files
committed
Remove test occurance of TEMPLATES
1 parent 7497979 commit fdd1e4a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test-app/tests/unit/resolvers/classic/basic-test.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import { module, test } from 'qunit';
44
import { setupResolver, resolver, loader } from './-setup-resolver';
5-
import { TEMPLATES } from 'ember-resolver/template-cache';
65

76
let originalConsoleInfo;
87

@@ -433,15 +432,6 @@ module('ember-resolver/resolvers/classic', function (hooks) {
433432
// assert.expectDeprecation('Modules should not contain underscores. Attempted to lookup "appkit/bands/-steve-miller-band" which was not found. Please rename "appkit/bands/_steve-miller-band" to "appkit/bands/-steve-miller-band" instead.');
434433
});
435434

436-
test('can lookup templates via Ember.TEMPLATES', function (assert) {
437-
TEMPLATES['application'] = function () {
438-
return '<h1>herp</h1>';
439-
};
440-
441-
var template = resolver.resolve('template:application');
442-
assert.ok(template, 'template should resolve');
443-
});
444-
445435
test('it provides eachForType which invokes the callback for each item found', function (assert) {
446436
function orange() {}
447437
loader.define('appkit/fruits/orange', [], function () {

0 commit comments

Comments
 (0)