cms/app-client/tests/unit/initializers/constants-test.js
author ymh <ymh.work@gmail.com>
Mon, 28 Nov 2016 17:04:56 +0100
changeset 450 7bddb57bf806
parent 126 e87a340711a4
permissions -rw-r--r--
avoid use unsupported Reflect api

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);
});