Skip to content

Commit

Permalink
Remove test occurance of TEMPLATES
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jun 7, 2024
1 parent 7497979 commit fdd1e4a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test-app/tests/unit/resolvers/classic/basic-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

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

let originalConsoleInfo;

Expand Down Expand Up @@ -433,15 +432,6 @@ module('ember-resolver/resolvers/classic', function (hooks) {
// 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.');
});

test('can lookup templates via Ember.TEMPLATES', function (assert) {
TEMPLATES['application'] = function () {
return '<h1>herp</h1>';
};

var template = resolver.resolve('template:application');
assert.ok(template, 'template should resolve');
});

test('it provides eachForType which invokes the callback for each item found', function (assert) {
function orange() {}
loader.define('appkit/fruits/orange', [], function () {
Expand Down

0 comments on commit fdd1e4a

Please sign in to comment.