2 Copyright (c) 2012, Yahoo! Inc. All rights reserved.
3 Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
6 var util = require('util'),
7 Report = require('./index');
10 * a `Report` implementation that does nothing. Use to specify that no reporting
16 * var report = require('istanbul').Report.create('none');
24 function NoneReport() {
28 NoneReport.TYPE = 'none';
29 util.inherits(NoneReport, Report);
31 Report.mix(NoneReport, {
32 synopsis: function () {
33 return 'Does nothing. Useful to override default behavior and suppress reporting entirely';
35 writeReport: function (/* collector, sync */) {
41 module.exports = NoneReport;