Files
vault/ui/tests/integration/components/console/log-command-test.js
hc-github-team-secure-vault-core ac3b4e42bc Backport of UI: fix browser console formatting into release/1.13.x (#20088)
* 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>
2023-04-12 18:08:52 +00:00

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);
});
});