mirror of
https://github.com/actions/setup-python.git
synced 2024-11-23 00:49:39 +00:00
39 lines
499 B
JavaScript
39 lines
499 B
JavaScript
|
'use strict';
|
||
|
|
||
|
|
||
|
module.exports = function (config) {
|
||
|
|
||
|
config.set({
|
||
|
|
||
|
browsers: ['PhantomJS'],
|
||
|
|
||
|
frameworks: ['browserify', 'mocha'],
|
||
|
|
||
|
files: [
|
||
|
'test/**/*.spec.js'
|
||
|
],
|
||
|
|
||
|
preprocessors: {
|
||
|
'test/**/*.spec.js': ['browserify']
|
||
|
},
|
||
|
|
||
|
reporters: ['mocha'],
|
||
|
|
||
|
client: {
|
||
|
mocha: {
|
||
|
reporter: 'tap'
|
||
|
}
|
||
|
},
|
||
|
|
||
|
plugins: [
|
||
|
'karma-browserify',
|
||
|
'karma-mocha',
|
||
|
'karma-mocha-reporter',
|
||
|
'karma-phantomjs-launcher'
|
||
|
]
|
||
|
|
||
|
});
|
||
|
|
||
|
};
|
||
|
|