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

Commit 1a4add9

Browse files
committed
add test for
1 parent b0aab4c commit 1a4add9

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+
it('should expose the $touchProvider', function() {
10+
module(function($touchProvider) {
11+
_$touchProvider = $touchProvider;
12+
});
13+
14+
inject(function() {
15+
expect(_$touchProvider).toBeDefined();
16+
});
17+
});
18+
19+
it('should expose the $touch service', function() {
20+
inject(function($touch) {
21+
expect($touch).toBeDefined();
22+
});
23+
});
24+
25+
});
26+
27+
});

0 commit comments

Comments
 (0)