Files
threshold-ui/addons/core/tests/integration/components/doc-link.js
T

18 lines
509 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
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
});
});