cms/app-client/tests/unit/initializers/constants-test.js
author ymh <ymh.work@gmail.com>
Thu, 23 Feb 2017 10:37:22 +0100
changeset 522 c6cad1055714
parent 126 e87a340711a4
permissions -rw-r--r--
force router refresh and close notice or transcript when clicking on navigation links. Fix #0025933

import Ember from 'ember';
import ConstantsInitializer from 'app-client/initializers/constants';
import { module, test } from 'qunit';

let application;

module('Unit | Initializer | constants', {
  beforeEach() {
    Ember.run(function() {
      application = Ember.Application.create();
      application.deferReadiness();
    });
  }
});

// Replace this with your real tests.
test('it works', function(assert) {
  ConstantsInitializer.initialize(application);

  // you would normally confirm the results of the initializer here
  assert.ok(true);
});