mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
* backport of commit 7e09f991a8
* UI/add prettier ignore for ui console file (#20094)
* fix template-lintrc file
* add prettier ignore
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
17 lines
540 B
JavaScript
17 lines
540 B
JavaScript
import { module, test } from 'qunit';
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
import { render } from '@ember/test-helpers';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
module('Integration | Component | console/log command', function (hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test('it renders', async function (assert) {
|
|
const commandText = 'list this/path';
|
|
this.set('content', commandText);
|
|
|
|
await render(hbs`{{console/log-command content=this.content}}`);
|
|
assert.dom('p').includesText(commandText);
|
|
});
|
|
});
|