Files
threshold-ui/addons/core/tests/integration/helpers/app-name-test.js
T

19 lines
531 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
2020-05-19 18:10:39 -04:00
module('Integration | Helper | app-name', function (hooks) {
setupRenderingTest(hooks);
2020-05-19 18:10:39 -04:00
test('it renders', async function (assert) {
2020-10-05 17:20:04 -04:00
assert.expect(1);
await render(hbs`{{app-name}}`);
assert.strictEqual(this.element.textContent.trim(), 'App Name');
});
});