e0326c3b0a
This gives more prominence to 'Service Instances' as opposed to 'Services'. It also begins to surface Connect related 'nouns' such as 'Proxies' and 'Upstreams' and begins to interconnect them giving more visibility to operators. Various smaller changes: 1. Move healthcheck-status component to healthcheck-output 2. Create a new healthcheck-status component for showing the number of checks plus its icon 3. Create a new healthcheck-info component to group multiple statuses plus a different view if there are no checks 4. Componentize tag-list
23 lines
622 B
JavaScript
23 lines
622 B
JavaScript
import { moduleForComponent, test } from 'ember-qunit';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
moduleForComponent('healthcheck-info', 'Integration | Component | healthcheck info', {
|
|
integration: true,
|
|
});
|
|
|
|
test('it renders', function(assert) {
|
|
// Set any properties with this.set('myProperty', 'value');
|
|
// Handle any actions with this.on('myAction', function(val) { ... });
|
|
|
|
this.render(hbs`{{healthcheck-info}}`);
|
|
|
|
assert.equal(this.$('dl').length, 1);
|
|
|
|
// Template block usage:
|
|
this.render(hbs`
|
|
{{#healthcheck-info}}
|
|
{{/healthcheck-info}}
|
|
`);
|
|
assert.equal(this.$('dl').length, 1);
|
|
});
|