ES6ify /gr-tooltip-content/*

Bug: Issue 6179
Change-Id: I9f351b5a64476c7063ffe2b53c29dea176d5c8cb
This commit is contained in:
Kasper Nilsson
2017-05-15 17:02:29 -07:00
parent 9278bacdaa
commit a80e714ee7

View File

@@ -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);