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) {
|
|
|
|
|
assert.expect(1);
|
2023-01-31 12:05:52 -08:00
|
|
|
await render(hbs`<Image @name="logo-app" />`);
|
2022-06-08 08:45:59 -07:00
|
|
|
assert.ok(find('.image-container'));
|
|
|
|
|
});
|
|
|
|
|
});
|