15 lines
454 B
JavaScript
15 lines
454 B
JavaScript
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'));
|
|
});
|
|
});
|