Files
threshold-ui/addons/core/tests/integration/components/doc-link.js
T
2024-05-31 11:29:24 -07:00

19 lines
533 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, find } 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' @iconSize='large' />`);
assert.ok(find('.doc-link .rose-icon.large'));
});
});