Sha256: 59b196be8e11c29dc50b718d8e4074de3d32a20067b6f275f1e803868ae7c3b6
Contents?: true
Size: 623 Bytes
Versions: 21
Compression:
Stored size: 623 Bytes
Contents
import '../src/app/app.js'; import {appName} from 'config'; describe( 'RootCtrl', function() { describe( 'isCurrentUrl', function() { var RootCtrl, $location, $scope, mockMain; beforeEach( module( appName ) ); beforeEach( inject( function( $controller, _$location_, $rootScope ) { $location = _$location_; $scope = $rootScope.$new(); mockMain = { children: {} }; RootCtrl = $controller( 'RootCtrl', { $location: $location, $scope: $scope }); })); it( 'should pass a dummy test', inject( function() { expect( RootCtrl ).toBeTruthy(); })); }); });
Version data entries
21 entries across 21 versions & 1 rubygems