Sha256: 2d180012965557251f14c9455a32f617f27acd9e95843e9d031c25bb76c35006
Contents?: true
Size: 546 Bytes
Versions: 52
Compression:
Stored size: 546 Bytes
Contents
var path = require('path'); var labConf = require(path.join(process.cwd(), 'karma.conf.js')); function addJSONReporter (config) { var _path = path.join(__dirname, '../../../../node_modules/karma-json-reporter'); config.basePath = path.join(process.cwd(), config.basePath); config.plugins.push(require(_path)); config.reporters.push('json'); config.jsonReporter = { stdout: false, outputFile: path.join(process.cwd(), '.results.json') } } module.exports = function (config) { labConf(config); addJSONReporter(config); }
Version data entries
52 entries across 52 versions & 1 rubygems