Skip to content

Commit

Permalink
Merge pull request #5477 from Polymer/add-scoping-test-messages
Browse files Browse the repository at this point in the history
Add better messaging for scoping test
  • Loading branch information
Steve Orvell authored Feb 4, 2019
2 parents 2e19ae0 + 4fcd951 commit b77f756
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 b77f756

Please sign in to comment.