mirror of
https://github.com/status-im/consul.git
synced 2025-01-12 14:55:02 +00:00
7a1284e11b
* Upgrade consul-api-dobule to version 3.1.3 * Create ConsulInstaceChecks component with test * Redesign: Service Instaces tab in for a Node * Update Node tests to work with the ConsulServiceInstancesList * Style fix to the copy button in the composite-row details * Delete helper and move logic to ConsulInstanceChecks component * Delete unused component consul-node-service-list
26 lines
761 B
JavaScript
26 lines
761 B
JavaScript
import { module, test } from 'qunit';
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
import { render } from '@ember/test-helpers';
|
|
import { hbs } from 'ember-cli-htmlbars';
|
|
|
|
module('Integration | Component | consul-instance-checks', function(hooks) {
|
|
setupRenderingTest(hooks);
|
|
|
|
test('it renders', async function(assert) {
|
|
// Set any properties with this.set('myProperty', 'value');
|
|
// Handle any actions with this.set('myAction', function(val) { ... });
|
|
|
|
await render(hbs`<ConsulInstanceChecks />`);
|
|
|
|
assert.equal(this.element.textContent.trim(), '');
|
|
|
|
// Template block usage:
|
|
await render(hbs`
|
|
<ConsulInstanceChecks>
|
|
</ConsulInstanceChecks>
|
|
`);
|
|
|
|
assert.equal(this.element.textContent.trim(), '');
|
|
});
|
|
});
|