0034283601
Adds boilerplate files from `angularjs-gulp-browserify-boilerplate` to start work on Angular rewrite of the frontend. Change-Id: I54392c24f397496582f9d06d561d5c14a92ccbe6
27 lines
513 B
JavaScript
27 lines
513 B
JavaScript
/*global angular */
|
|
|
|
'use strict';
|
|
|
|
describe('Unit: Constants', function() {
|
|
|
|
var constants;
|
|
|
|
beforeEach(function() {
|
|
// instantiate the app module
|
|
angular.mock.module('app');
|
|
|
|
// mock the directive
|
|
angular.mock.inject(function(AppSettings) {
|
|
constants = AppSettings;
|
|
});
|
|
});
|
|
|
|
it('should exist', function() {
|
|
expect(constants).toBeDefined();
|
|
});
|
|
|
|
it('should have an application name', function() {
|
|
expect(constants.appTitle).toEqual('Example Application');
|
|
});
|
|
|
|
}); |