TG-103 : add frontend folder - scaffolded with yeoman

This commit is contained in:
matthieupenchenat81
2017-01-20 11:52:52 +01:00
parent cdd13c4974
commit b3ae8006ef
21 changed files with 1112 additions and 0 deletions

View File

@ -0,0 +1,23 @@
'use strict';
describe('Controller: MainCtrl', function () {
// load the controller's module
beforeEach(module('clientApp'));
var MainCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
MainCtrl = $controller('MainCtrl', {
$scope: scope
// place here mocked dependencies
});
}));
it('should attach a list of awesomeThings to the scope', function () {
expect(MainCtrl.awesomeThings.length).toBe(3);
});
});