2023-03-01 09:39:41 -06:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2022-06-08 08:45:59 -07:00
|
|
|
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) {
|
2023-10-27 11:10:30 -04:00
|
|
|
await render(hbs`<Image @name='logo-app' />`);
|
2022-06-08 08:45:59 -07:00
|
|
|
assert.ok(find('.image-container'));
|
|
|
|
|
});
|
|
|
|
|
});
|