forked from swagger-api/swagger-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
/
karma.conf.js
36 lines (31 loc) · 887 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
'use strict';
module.exports = function(config) {
config.set({
frameworks: [ 'mocha', 'sinon-chai' ],
'plugins' : [
'karma-mocha',
'karma-sinon-chai',
'karma-phantomjs-launcher'
],
files: [
'dist/lib/jquery-1.8.0.min.js',
'dist/lib/jquery.slideto.min.js',
'dist/lib/jquery.wiggle.min.js',
'dist/lib/jquery.ba-bbq.min.js',
'dist/lib/handlebars-4.7.1.js',
'dist/lib/js-yaml.min.js',
'dist/lib/lodash.min.js',
'dist/lib/backbone-min.js',
'dist/swagger-ui.js',
'dist/lib/highlight.9.1.0.pack.js',
'dist/lib/highlight.9.1.0.pack_extended.js',
'dist/lib/jsoneditor.min.js',
'dist/lib/marked.js',
'dist/lib/swagger-oauth.js',
'test/unit/mock.js',
'test/unit/**/*.js'
],
//singleRun: true,
browsers: [ 'PhantomJS'/*, 'Chrome' */]
});
};