import { test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
import moduleForComponent from 'web-client/tests/helpers/module-for-component';

moduleForComponent('front-page/announcement-header-loader', 'Integration | Component | front-page/announcement-header-loader-feature-on', {
  integration: true
});

test('it renders twitch prime header announcement with feature and without prime', function(assert) {
  this.render(hbs`{{front-page/announcement-header-loader}}`);

  assert.elementCount(this.$('.header-announcement'), 1, 'Displays prime header announcement');
});
