Skip to content

Commit

Permalink
Add better messaging for scoping test
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Feb 1, 2019
1 parent 2e19ae0 commit 4fcd951
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/styling-scoped.html
Original file line number Diff line number Diff line change
Expand Up @@ -1166,9 +1166,9 @@
el.shadowRoot.appendChild(div);
flush();
div.className = 'foo';
assert.isTrue(div.classList.contains('foo'));
assert.isTrue(div.classList.contains('style-scope'));
assert.isTrue(div.classList.contains('x-scope-class'));
assert.isTrue(div.classList.contains('foo'), 'foo should be in classList');
assert.isTrue(div.classList.contains('style-scope'), 'style-scope should be in classList');
assert.isTrue(div.classList.contains('x-scope-class'), 'x-scope-class should be in classList');
el.shadowRoot.appendChild(div);
flush();
document.body.removeChild(el);
Expand Down

0 comments on commit 4fcd951

Please sign in to comment.