First iteration of connect dialog component

This commit is contained in:
Carlos Alcaide committed 2021-06-09 10:30:53 -07:00
1 parent 9049bb2087
commit 2dfda037fe
7 files changed
+298 -38

No files matched your search

@@ -0,0 +1,26 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | dialog-detail', 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`<DialogDetail />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<DialogDetail>
template block text
</DialogDetail>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
});