1// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5const {assert} = chai;
6
7import * as UI from '../../../../front_end/ui/ui.js';
8
9describe('Icon', () => {
10  it('can create an empty instance without issues', () => {
11    const icon = UI.Icon.Icon.create();
12    assert.strictEqual(icon.tagName, 'SPAN', 'icon span element was not created correctly');
13    assert.strictEqual(icon.getAttribute('is'), 'ui-icon', 'icon span element "is" attribute was not set correctly');
14  });
15
16  // TODO continue writing tests here or use another describe block
17});
18