2019-12-17 18:47:37 +00:00
|
|
|
import { module, skip } from 'qunit';
|
|
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
|
|
import { render } from '@ember/test-helpers';
|
|
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
|
2022-09-15 08:43:17 +00:00
|
|
|
module('Integration | Component | popover-menu', function (hooks) {
|
2019-12-17 18:47:37 +00:00
|
|
|
setupRenderingTest(hooks);
|
|
|
|
|
2022-09-15 08:43:17 +00:00
|
|
|
skip('it renders', async function (assert) {
|
2019-12-17 18:47:37 +00:00
|
|
|
// Set any properties with this.set('myProperty', 'value');
|
|
|
|
// Handle any actions with this.set('myAction', function(val) { ... });
|
|
|
|
|
|
|
|
await render(hbs`{{popover-menu}}`);
|
|
|
|
|
|
|
|
assert.equal(this.element.textContent.trim(), '');
|
|
|
|
|
|
|
|
// Template block usage:
|
|
|
|
await render(hbs`
|
|
|
|
{{#popover-menu}}
|
|
|
|
{{/popover-menu}}
|
|
|
|
`);
|
|
|
|
|
|
|
|
assert.equal(this.element.textContent.trim(), 'template block text');
|
|
|
|
});
|
|
|
|
});
|