mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-17 21:56:56 +00:00
17 lines
594 B
JavaScript
17 lines
594 B
JavaScript
import { module, test } from 'qunit';
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
import { render, find } from '@ember/test-helpers';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
import { urn } from 'wherehows-web/mirage/fixtures/urn';
|
|
|
|
module('Integration | Component | datasets/containers/dataset schema', function(hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test('it renders', async function(assert) {
|
|
this.set('urn', urn);
|
|
await render(hbs`{{datasets/containers/dataset-schema urn=urn}}`);
|
|
|
|
assert.ok(find('#json-viewer'), 'renders the dataset schema component');
|
|
});
|
|
});
|