Skip to content

Commit a6505cf

Browse files
committed
Use ensure-safe-component with component helper
1 parent f9ef587 commit a6505cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/helpers/element-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ module('Integration | Helper | element', function (hooks) {
128128

129129
test('it can be passed to the component helper', async function (assert) {
130130
await render(hbs`
131-
{{#let (component (element "h1")) as |Tag|}}
131+
{{#let (component (ensure-safe-component (element "h1"))) as |Tag|}}
132132
<Tag id="content-1">hello</Tag>
133133
{{/let}}
134134

0 commit comments

Comments
 (0)