mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-11 17:17:01 +02:00
* adding columnify and ember-cli-cjs-transform * add yargs-parser * remove vendored yargs-parser tokenizer and use cjs transform to import it from actual yargs-parser * add clear command that clears the log, but maintains history * make codemirror have no gutter and be auto-height when rendered in the console output log * add fullscreen command and hook up fullscreen toggle button * hook up copy button
16 lines
450 B
JavaScript
16 lines
450 B
JavaScript
import { moduleForComponent, test } from 'ember-qunit';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
moduleForComponent('console/log-command', 'Integration | Component | console/log command', {
|
|
integration: true,
|
|
});
|
|
|
|
test('it renders', function(assert) {
|
|
const commandText = 'list this/path';
|
|
this.set('content', commandText);
|
|
|
|
this.render(hbs`{{console/log-command content=content}}`);
|
|
|
|
assert.dom('pre').includesText(commandText);
|
|
});
|