ES6ify /gr-tooltip-content/*
Bug: Issue 6179 Change-Id: I9f351b5a64476c7063ffe2b53c29dea176d5c8cb
This commit is contained in:
@@ -32,18 +32,18 @@ limitations under the License.
|
||||
</test-fixture>
|
||||
|
||||
<script>
|
||||
suite('gr-tooltip-content tests', function() {
|
||||
var element;
|
||||
setup(function() {
|
||||
suite('gr-tooltip-content tests', () => {
|
||||
let element;
|
||||
setup(() => {
|
||||
element = fixture('basic');
|
||||
});
|
||||
|
||||
test('icon is not visible by default', function() {
|
||||
test('icon is not visible by default', () => {
|
||||
assert.equal(Polymer.dom(element.root)
|
||||
.querySelector('.arrow').hidden, true);
|
||||
});
|
||||
|
||||
test('icon is visible with showIcon property', function() {
|
||||
test('icon is visible with showIcon property', () => {
|
||||
element.showIcon = true;
|
||||
assert.equal(Polymer.dom(element.root)
|
||||
.querySelector('.arrow').hidden, false);
|
||||
|
||||
Reference in New Issue
Block a user