mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-02 22:03:11 +00:00
18 lines
663 B
JavaScript
18 lines
663 B
JavaScript
import { module, test } from 'qunit';
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
import { urn } from 'wherehows-web/mirage/fixtures/urn';
|
|
import { render, find } from '@ember/test-helpers';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
module('Integration | Component | datasets/containers/dataset-health', function(hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test('it renders', async function(assert) {
|
|
this.set('urn', urn);
|
|
await render(hbs`{{datasets/containers/dataset-health urn=urn}}`);
|
|
|
|
assert.ok(this.element, 'Renders without errors');
|
|
assert.ok(find('.dataset-health__score-table'), 'renders the health table component');
|
|
});
|
|
});
|