15 lines
447 B
JavaScript
15 lines
447 B
JavaScript
import { module, test } from 'qunit';
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
import { render } from '@ember/test-helpers';
|
|
import { hbs } from 'ember-cli-htmlbars';
|
|
|
|
module('Integration | Helper | app-name', function (hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test('it renders', async function (assert) {
|
|
assert.expect(1);
|
|
await render(hbs`{{app-name}}`);
|
|
assert.equal(this.element.textContent.trim(), 'App Name');
|
|
});
|
|
});
|