Skip to content

Commit a4cd85e

Browse files
Test for div and style usage
test for #189
1 parent 25ecc7e commit a4cd85e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

transforms/angle-brackets/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ test('html-tags', () => {
246246
247247
<div data-foo="{{if someThing yas nah}}"></div>
248248
<div {{on 'click' this.foo}}></div>
249+
<div class="" style="margin-bottom:20px" {{action "updateSetup" on="change"}}></div>
249250
`;
250251

251252
expect(runTest('html-tags.hbs', input)).toMatchInlineSnapshot(`
@@ -270,6 +271,7 @@ test('html-tags', () => {
270271
271272
<div data-foo=\\"{{if someThing yas nah}}\\"></div>
272273
<div {{on 'click' this.foo}}></div>
274+
<div class=\\"\\" style=\\"margin-bottom:20px\\" {{action \\"updateSetup\\" on=\\"change\\"}}></div>
273275
"
274276
`);
275277
});

0 commit comments

Comments
 (0)