Skip to content

Commit

Permalink
Fix component highlight test
Browse files Browse the repository at this point in the history
  • Loading branch information
nummi authored and patricklx committed Sep 19, 2022
1 parent 1bd7f7a commit 61ca4f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/ember_debug/view-debug-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,12 @@ function setupApp() {
}
}));

setTemplate.call(this, 'application', hbs`<div class="application">{{outlet}}</div>`);
/*
Setting line-height to normal because normalize.css sets the
html line-height to 1.15. This seems to cause a measurement
error with getBoundingClientRect
*/
setTemplate.call(this, 'application', hbs`<div class="application" style="line-height: normal;">{{outlet}}</div>`);
setTemplate.call(this, 'simple', hbs`Simple {{test-foo}} {{test-bar}}`);
setTemplate.call(this, 'comments/index', hbs`{{#each this.comments as |comment|}}{{comment}}{{/each}}`);
setTemplate.call(this, 'posts', hbs`Posts`);
Expand Down

0 comments on commit 61ca4f3

Please sign in to comment.