Skip to content

Commit bfafe95

Browse files
author
Chris Garrett
committed
fix/update tests
1 parent 5d852a8 commit bfafe95

File tree

5 files changed

+999
-250
lines changed

5 files changed

+999
-250
lines changed

lib/template-compiler-plugin.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ class TemplateCompiler extends Filter {
5252
processString(string, relativePath) {
5353
let srcDir = this.inputPaths[0];
5454
let srcName = path.join(srcDir, relativePath);
55+
5556
try {
5657
// we have to reverse these for reasons that are a bit bonkers. the initial
5758
// version of this system used `registeredPlugin` from
@@ -110,6 +111,8 @@ class TemplateCompiler extends Filter {
110111
}
111112
}
112113

114+
strippedOptions._requiresModuleApiPolyfill = this.requiresModuleApiPolyfill;
115+
113116
return strippedOptions;
114117
}
115118

node-tests/addon-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ describe('ember-cli-htmlbars addon', function () {
3434
project,
3535
parent: project,
3636
ui: this.ui,
37+
_requiresModuleApiPolyfill: true,
3738
});
3839

3940
project.addons.push(this.addon);

0 commit comments

Comments
 (0)