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

14 lines
476 B
JavaScript
Raw Normal View History

2020-10-05 16:49:35 -04:00
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, find } from '@ember/test-helpers';
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) {
2020-10-05 16:49:35 -04:00
assert.expect(1);
await render(hbs`<DocLink @doc="account" @iconSize="large" />`);
2020-10-05 16:49:35 -04:00
assert.ok(find('.doc-link .rose-icon.large'));
});
});