Fix test. Dummy test
This commit is contained in:
parent
f7b1074941
commit
dd31f0c551
2 changed files with 11 additions and 17 deletions
|
|
@ -1,17 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
describe('menuController', function(){
|
||||
var state, scope, controller;
|
||||
|
||||
beforeEach(angular.mock.module('copayApp.controllers'));
|
||||
beforeEach(angular.mock.module('stateMock'));
|
||||
beforeEach(angular.mock.inject(function($rootScope, $controller, $state){
|
||||
state = $state;
|
||||
scope = $rootScope.$new();
|
||||
controller = $controller('menuController', {$scope: scope});
|
||||
}));
|
||||
|
||||
it('should have a menu variable', function(){
|
||||
expect(controller.menu).not.toBeUndefined();
|
||||
});
|
||||
});
|
||||
11
test/controllers/sidebar.test.js
Normal file
11
test/controllers/sidebar.test.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
describe('sidebarController', function(){
|
||||
var scope, controller;
|
||||
|
||||
beforeEach(angular.mock.module('copayApp.controllers'));
|
||||
|
||||
it('wallet selection', function(){
|
||||
expect(true).not.toBeUndefined();
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue