text: 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 | flash-message', function (hooks) {
    setupRenderingTest(hooks);
  
    test('it renders', async function (assert) {
      this.message = 'Hello, world!';
      this.type = 'info';
  
      await render(hbs`
        <FlashMessage @message={{this.message}}
          @type={{this.type}}
        />`);
  
      assert.matches(this.element.textContent, this.message);
    });
  });
  