* refactor: 💡 rose icons with hds icons * fix: 🐛 remove child selector for h2 * fix: 🐛 removed unwanted changes * fix: 🐛 remove unncessary change * refactor: 💡 rose icon for rose components * fix: 🐛 default size for doc-link, updated tests, removed TODO * fix: 🐛 update doc-link test
19 lines
509 B
JavaScript
19 lines
509 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import { module, test } from 'qunit';
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
import { render } from '@ember/test-helpers';
|
|
import { hbs } from 'ember-cli-htmlbars';
|
|
|
|
module('Integration | Component | doc-link', function (hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test('it renders', async function (assert) {
|
|
await render(hbs`<DocLink @doc='account' />`);
|
|
assert.dom('.doc-link .hds-icon').isVisible();
|
|
});
|
|
});
|