19 lines
537 B
JavaScript
19 lines
537 B
JavaScript
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/sidebar', function (hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test('it renders', async function (assert) {
|
|
await render(hbs`
|
|
<Layout::Sidebar::Sidebar>
|
|
template block text
|
|
</Layout::Sidebar::Sidebar>
|
|
`);
|
|
|
|
assert.dom(this.element).hasText('template block text');
|
|
});
|
|
});
|