Skip to content

Commit

Permalink
fix: disable template wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
knownasilya committed Oct 4, 2020
1 parent 3a25ed8 commit d5ef67f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/dummy/config/optional-features.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"jquery-integration": false
"application-template-wrapper": false
}
6 changes: 3 additions & 3 deletions tests/integration/components/shadow-dom/component-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ module('Integration | Component | shadow-dom', function(hooks) {

test('it renders', async function(assert) {
await render(hbs`
<ShadowDom id='internal' @mode='open'>
<ShadowDom>
<div class='block'>template block text</div>
</ShadowDom>
`);

assert.dom('.block', find('#internal').shadowRoot).hasText('template block text');
assert.dom('.block', find('div').shadowRoot).hasText('template block text');
});

test('it can be closed', async function(assert) {
Expand All @@ -25,4 +25,4 @@ module('Integration | Component | shadow-dom', function(hooks) {

assert.dom('.block', find('#internal').shadowRoot).doesNotExist();
});
});
});

0 comments on commit d5ef67f

Please sign in to comment.