forked from i18next/i18next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.backward.conf.js
44 lines (34 loc) · 928 Bytes
/
karma.backward.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
44
module.exports = function(karma) {
karma.set({
frameworks: [ 'mocha', 'expect', 'sinon', 'browserify' ],
files: [
//'vendor/external.js',
'test/backward/**/*.compat.js',
{ pattern: 'test/backward/locales/**/*.json', watched: true, included: false, served: true},
],
proxies: {
'/locales': 'http://localhost:9877/base/test/backward/locales'
},
reporters: [ 'spec' ],
preprocessors: {
'test/backward/**/*.compat.js': [ 'browserify' ]
},
browsers: [ 'PhantomJS' ],
port: 9877,
//logLevel: 'LOG_DEBUG',
//singleRun: true,
//autoWatch: false,
//
// client: {
// mocha: {
// reporter: 'spec', // change Karma's debug.html to the mocha web reporter
// ui: 'tdd'
// }
// },
// browserify configuration
browserify: {
debug: true,
transform: [ 'babelify'/*, 'brfs' */]
}
});
};