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

Commit 14bb413

Browse files
author
Erin Altenhof-Long
committed
chore(test): set up test dependencies
1 parent 6c4503f commit 14bb413

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

hint_test.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
describe('angularHint', function() {
2+
3+
describe('angular hint bootstrapping', function() {
4+
it('should warn if ng-hint is called with unknown options', function() {
5+
6+
});
7+
8+
9+
it('should include all modules by ng-hint default', function() {
10+
11+
});
12+
13+
14+
it('should have an inclusive mode', function() {
15+
16+
});
17+
18+
19+
it('should have an exclusive mode', function() {
20+
21+
});
22+
});
23+
});

karma.conf.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = function(config) {
2+
config.set({
3+
frameworks: ['jasmine'],
4+
files: [
5+
'bower_components/angular/angular.js',
6+
'hint.js',
7+
'*_test.js'
8+
],
9+
exclude: [
10+
],
11+
preprocessors: {
12+
},
13+
browsers: ['Chrome']
14+
});
15+
};

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
"homepage": "https://github.com/angular/angular-hint",
2727
"dependencies": {
2828
"controller-training": "git://github.com/angular/angular-hint-dom",
29-
"directive-director": "git://github.com/angular/angular-hint-directives"
29+
"directive-director": "git://github.com/angular/angular-hint-directives",
30+
"karma": "^0.12.16",
31+
"karma-chrome-launcher": "^0.1.4",
32+
"karma-jasmine": "^0.1.5"
3033
},
3134
"devDependencies": {
3235
"browserify": "^4.2.0",

0 commit comments

Comments
 (0)