REFACTOR: We can't use Ember.HTMLBars.compile in Ember CLI

Instead we use the inline `hbs` helper. Note in the non-Ember CLI
version this will not actually inline compile, but it will still work
for all our tests.
This commit is contained in:
Robin Ward
2020-11-25 12:57:15 -05:00
parent 6ac270aa94
commit dab2f2fdf4
7 changed files with 35 additions and 35 deletions

View File

@@ -17,6 +17,14 @@ define("ember-qunit", () => {
moduleForComponent: window.moduleForComponent,
};
});
define("htmlbars-inline-precompile", () => {
return {
default: function (str) {
return Ember.HTMLBars.compile(str[0]);
},
};
});
let _app;
define("@ember/test-helpers", () => {
let helpers = {