Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6c4f139

Browse files
committed
refactor(test): remove odd inject from describe
1 parent 58d6da5 commit 6c4f139

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/widgetsSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('widget', function() {
77
dealoc(element);
88
});
99

10-
describe('ng:switch', inject(function($rootScope, $compile) {
10+
describe('ng:switch', function() {
1111
it('should switch on value change', inject(function($rootScope, $compile) {
1212
element = $compile(
1313
'<ng:switch on="select">' +
@@ -58,7 +58,7 @@ describe('widget', function() {
5858
expect($rootScope.name).toEqual(undefined);
5959
expect(element.text()).toEqual('works');
6060
}));
61-
}));
61+
});
6262

6363

6464
describe('ng:include', function() {

0 commit comments

Comments
 (0)