Files
threshold-ui/ui/admin/tests/integration/components/layout/sidebar/body-test.js
T

24 lines
606 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { module, test } from 'qunit';
import { setupRenderingTest } from 'admin/tests/helpers';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | layout/sidebar/body', function (hooks) {
setupRenderingTest(hooks);
test('it renders', async function (assert) {
await render(hbs`
<Layout::Sidebar::Body>
template block text
</Layout::Sidebar::Body>
`);
assert.dom(this.element).hasText('template block text');
});
});