/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; import hbs from 'htmlbars-inline-precompile'; import waitForError from 'vault/tests/helpers/wait-for-error'; module('Integration | Component | icon', function (hooks) { setupRenderingTest(hooks); test('it renders', async function (assert) { await render(hbs``); assert.dom('.i-con').exists('renders'); await render(hbs``); assert.dom('.vault-logo').exists('inlines the SVG'); assert.dom('.hs-icon').hasClass('hs-icon-l', 'Default hs class applied'); await render(hbs`