Skip to content

Commit 015c837

Browse files
committed
add test for
1 parent b0aab4c commit 015c837

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

test/ngTouch/touchSpec.js

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
'use strict';
2+
3+
describe('ngTouch', function() {
4+
beforeEach(module('ngTouch'));
5+
var _$touchProvider;
6+
7+
describe('$touchProvider', function() {
8+
9+
10+
it('should expose the $touchProvider', function() {
11+
module(function($touchProvider) {
12+
_$touchProvider = $touchProvider;
13+
});
14+
15+
inject(function() {
16+
expect(_$touchProvider).toBeDefined();
17+
});
18+
});
19+
20+
21+
it('should expose the $touch service', function() {
22+
inject(function($touch) {
23+
expect($touch).toBeDefined();
24+
});
25+
});
26+
});
27+
});

0 commit comments

Comments
 (0)