-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma-config.js
36 lines (32 loc) · 1.42 KB
/
karma-config.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
//----------------------------------------------------------------------------------------------------------------------
// Karma unit test configuration
//----------------------------------------------------------------------------------------------------------------------
module.exports = function(config)
{
config.set({
files: [
'client/vendor/angular/angular.min.js',
'client/vendor/angular-mocks/angular-mocks.js',
'client/vendor/angular-route/angular-route.js',
'client/vendor/babylonjs/babylon.2.0.js',
'client/vendor/Keypress/keypress.js',
'client/vendor/path/path.min.js',
'client/vendor/eventemitter2/lib/eventemitter2.js',
'client/vendor/bluebird/js/browser/bluebird.min.js',
'client/vendor/lodash/lodash.min.js',
'client/vendor/rfi-physics/dist/rfi-physics.js',
'client/vendor/socket.io-client/socket.io.js',
// App files to be tested
'client/app.js',
'client/components/**/*.js',
'client/ui/**/*.js',
// Tests
'tests/**/*.spec.js'
],
frameworks: ['jasmine'],
browsers: ['Chrome', 'Firefox'],
reporters: ['spec'],
singleRun: true
});
}; // end module.exports
//----------------------------------------------------------------------------------------------------------------------