mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-11 02:32:54 +00:00
25 lines
644 B
TypeScript
25 lines
644 B
TypeScript
import { module, test } from 'qunit';
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
import { render } from '@ember/test-helpers';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
module('Integration | Component | dh-info-panel', function(hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test('it renders', async function(assert) {
|
|
await render(hbs`
|
|
<DhInfoPanel as |Panel|>
|
|
<Panel.Title>
|
|
Title
|
|
</Panel.Title>
|
|
<Panel.Description>
|
|
Description
|
|
</Panel.Description>
|
|
</DhInfoPanel>
|
|
`);
|
|
|
|
assert.dom().containsText('Title');
|
|
assert.dom().containsText('Description');
|
|
});
|
|
});
|