mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
a7c7c703af
PR-URL: https://github.com/nodejs/node/pull/30533 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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'
|
|
]
|
|
|
|
});
|
|
|
|
};
|
|
|