mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	 7e09f991a8
			
		
	
	7e09f991a8
	
	
	
		
			
			* 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);
 | |
|   });
 | |
| });
 |