mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-16 11:37:04 +02:00
* fix console formatting for help output * fix again * fix again * fix, add to ignore * fix, add to ignore * add to ignore file * fix formatting, no verify * remove lib/story.md * add changelog * hold off updating ignore list for separate ticket * fix test
22 lines
618 B
JavaScript
22 lines
618 B
JavaScript
/**
|
|
* 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 '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);
|
|
});
|
|
});
|