diff --git a/wherehows-web/tests/integration/components/datasets/containers/dataset-health-test.js b/wherehows-web/tests/integration/components/datasets/containers/dataset-health-test.js new file mode 100644 index 0000000000..4222cf34f3 --- /dev/null +++ b/wherehows-web/tests/integration/components/datasets/containers/dataset-health-test.js @@ -0,0 +1,13 @@ +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 | datasets/containers/dataset-health', function(hooks) { + setupRenderingTest(hooks); + // TODO: More meaningful tests as we continue with development + test('it renders', async function(assert) { + await render(hbs`{{datasets/containers/dataset-health}}`); + assert.ok(this.element, 'Renders without errors'); + }); +}); diff --git a/wherehows-web/tests/integration/components/datasets/containers/dataset-health-test.ts b/wherehows-web/tests/integration/components/datasets/containers/dataset-health-test.ts deleted file mode 100644 index 693120a466..0000000000 --- a/wherehows-web/tests/integration/components/datasets/containers/dataset-health-test.ts +++ /dev/null @@ -1,26 +0,0 @@ -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 | datasets/containers/dataset-health', function(hooks) { - setupRenderingTest(hooks); - - test('it renders', async function(assert) { - // Set any properties with this.set('myProperty', 'value'); - // Handle any actions with this.set('myAction', function(val) { ... }); - - await render(hbs`{{datasets/containers/dataset-health}}`); - - assert.equal(this.element.textContent.trim(), ''); - - // Template block usage: - await render(hbs` - {{#datasets/containers/dataset-health}} - template block text - {{/datasets/containers/dataset-health}} - `); - - assert.equal(this.element.textContent.trim(), 'template block text'); - }); -});