Skip to content

Commit

Permalink
Use ensure-safe-component with component helper
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeAstapov committed Mar 3, 2022
1 parent f9ef587 commit a6505cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/helpers/element-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module('Integration | Helper | element', function (hooks) {

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

0 comments on commit a6505cf

Please sign in to comment.