forked from oauthjs/angular-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
43 lines (39 loc) · 908 Bytes
/
karma.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* Module dependencies.
*/
var argv = require('yargs').argv;
/**
* Karma.
*/
module.exports = function(config) {
config.set({
basePath: './',
browsers: [argv.browsers || 'Chrome'],
files: [
'node_modules/angular/angular.js',
'bower_components/angular-local-storage/dist/angular-local-storage.js',
'node_modules/query-string/query-string.js',
'node_modules/lodash/lodash.js',
'node_modules/angular-mocks/angular-mocks.js',
'dist/angular-oauth2.js',
'test/mocks/**/*.mock.js',
'test/unit/**/*.spec.js'
],
frameworks: [
'browserify',
'mocha',
'should',
'sinon'
],
plugins: [
'karma-browserify',
'karma-chrome-launcher',
'karma-firefox-launcher',
'karma-mocha',
'karma-mocha-reporter',
'karma-should',
'karma-sinon'
],
reporters: ['mocha']
});
};