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
21 lines
626 B
JavaScript
21 lines
626 B
JavaScript
import { moduleForComponent, test } from 'ember-qunit';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
moduleForComponent('healthcheck-status', 'Integration | Component | healthcheck status', {
|
|
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-status}}`);
|
|
assert.equal(this.$('dt').length, 1);
|
|
|
|
// Template block usage:
|
|
this.render(hbs`
|
|
{{#healthcheck-status}}{{/healthcheck-status}}
|
|
`);
|
|
assert.equal(this.$('dt').length, 1);
|
|
});
|