mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-15 03:42:23 +01:00
Update the core module to implement the style guidelines. Reduce size of init.js - moved filter logic out to it's own config. Rename Menus to menuService
21 lines
466 B
JavaScript
21 lines
466 B
JavaScript
'use strict';
|
|
|
|
(function () {
|
|
describe('HomeController', function () {
|
|
// Initialize global variables
|
|
var scope,
|
|
HomeController;
|
|
|
|
// Load the main application module
|
|
beforeEach(module(ApplicationConfiguration.applicationModuleName));
|
|
|
|
beforeEach(inject(function ($controller, $rootScope) {
|
|
scope = $rootScope.$new();
|
|
|
|
HomeController = $controller('HomeController as vm', {
|
|
$scope: scope
|
|
});
|
|
}));
|
|
});
|
|
}());
|