var $compile, $rootScope, $httpBackend;
beforeEach(function(){
module('app');
inject(function($injector){
$compile = $injector.get('$compile');
$rootScope = $injector.get('$rootScope');
$httpBackend = $injector.get('$httpBackend')
});
});
let classVar;
describe(('class test') => {
beforeEach(() = > {
classVar = new Blablabla;
});
describe(('method test') => {
let methodVar;
beforeEach(() = > {
methodVar = classVar.init();
});
describe(('test 1') => {
let testVar;
beforeEach(() = > {
testVar = methodVar.getValue();
});
it(('should be equal 1') => {
expect(testVar).equal(1);
});
});
});
})