mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:23:28 +02:00
- Finally, most of the unit tests now passes (resolving dependencies also).
- Shims now exports angular module name, however some of them clash with the original.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
describe('InputCtrl', function () {
|
||||
describe('InputAdvancedCtrl', function () {
|
||||
|
||||
beforeEach(module('stf.input'));
|
||||
beforeEach(angular.mock.module(require('./').name));
|
||||
|
||||
var scope, ctrl;
|
||||
|
||||
beforeEach(inject(function ($rootScope, $controller) {
|
||||
scope = $rootScope.$new();
|
||||
ctrl = $controller('InputCtrl', {$scope: scope});
|
||||
ctrl = $controller('InputAdvancedCtrl', {$scope: scope});
|
||||
}));
|
||||
|
||||
it('should ...', inject(function () {
|
||||
@@ -14,4 +14,4 @@ describe('InputCtrl', function () {
|
||||
|
||||
}));
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user