2023-03-01 09:39:41 -06:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2024-05-31 11:29:24 -07:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-01 09:39:41 -06:00
|
|
|
*/
|
|
|
|
|
|
2020-10-05 16:49:35 -04:00
|
|
|
import { module, test } from 'qunit';
|
|
|
|
|
import { setupRenderingTest } from 'ember-qunit';
|
2025-04-25 13:18:23 -07:00
|
|
|
import { render } from '@ember/test-helpers';
|
2020-10-05 16:49:35 -04:00
|
|
|
import { hbs } from 'ember-cli-htmlbars';
|
|
|
|
|
|
2020-11-16 15:08:59 -05:00
|
|
|
module('Integration | Component | doc-link', function (hooks) {
|
2020-10-05 16:49:35 -04:00
|
|
|
setupRenderingTest(hooks);
|
|
|
|
|
|
2020-11-16 15:08:59 -05:00
|
|
|
test('it renders', async function (assert) {
|
2025-04-25 13:18:23 -07:00
|
|
|
await render(hbs`<DocLink @doc='account' />`);
|
|
|
|
|
assert.dom('.doc-link .hds-icon').isVisible();
|
2020-10-05 16:49:35 -04:00
|
|
|
});
|
|
|
|
|
});
|