Sha256: 78b43df8e141ee92c2264fd0e016457cbc29b9e12018ee571403b3390635b3b6

Contents?: true

Size: 797 Bytes

Versions: 1

Compression:

Stored size: 797 Bytes

Contents

import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, triggerEvent } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';

module('Integration | Component | bsy popover', function(hooks) {
  setupRenderingTest(hooks);

  test('it renders', async function(assert) {
    // Set any properties with this.set('myProperty', 'value');
    // Handle any actions with this.on('myAction', function(val) { ... });"

    await render(hbs`{{bsy-popover}}`);

    assert.dom().hasText('');

    // Template block usage:"
    await render(hbs`
      {{#bsy-popover}}
        template block text
      {{/bsy-popover}}
    `);

    await triggerEvent(this.element, 'mouseenter');

    assert.dom().hasText('template block text');
  });
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootstrap-bookingsync-sass-2.0.0 tests/integration/components/bsy-popover-test.js