forked from OData/model-first
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
32 lines (31 loc) · 881 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
'use strict';
module.exports = function (config) {
config.set({
frameworks: ['jasmine', 'browserify'],
files: [
'bower_components/js-yaml/dist/js-yaml.min.js',
'bower_components/yaml-js/yaml.min.js',
'bower_components/yaml-worker/index.js',
'src/morpho.js',
'src/visitor.js',
'src/index.js',
'src/modules/*.js',
'src/conventions/*.js',
'test/modules/*.js',
'test/codegen/*.js'
],
exclude: [],
preprocessors: {
'test/codegen/*.js': ['browserify']
},
browserify: {
debug: true,
transform: ['brfs']
},
reporters: ['spec'],
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['PhantomJS'],
singleRun: true
});
};