create new image component (#1127)

* feat:  create image component
This commit is contained in:
Dharini Jeeva authored and GitHub committed 2022-06-08 08:45:59 -07:00
1 parent dc78fe9028
commit 8a05dbbc56
4 files changed
+141

No files matched your search

@@ -0,0 +1,14 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, find } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | Image', function (hooks) {
setupRenderingTest(hooks);
test('it renders', async function (assert) {
assert.expect(1);
await render(hbs`<Image @name="resource-creation" />`);
assert.ok(find('.image-container'));
});
});