2016-10-10 03:43:44 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
|
value: true
|
|
|
|
});
|
2016-11-03 01:33:53 +01:00
|
|
|
exports.readInitialCoverage = exports.programVisitor = exports.createInstrumenter = undefined;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
var _instrumenter = require('./instrumenter');
|
|
|
|
|
|
|
|
var _instrumenter2 = _interopRequireDefault(_instrumenter);
|
|
|
|
|
|
|
|
var _visitor = require('./visitor');
|
|
|
|
|
|
|
|
var _visitor2 = _interopRequireDefault(_visitor);
|
|
|
|
|
2016-11-03 01:33:53 +01:00
|
|
|
var _readCoverage = require('./read-coverage');
|
|
|
|
|
|
|
|
var _readCoverage2 = _interopRequireDefault(_readCoverage);
|
|
|
|
|
2016-10-10 03:43:44 +02:00
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
|
|
|
|
/**
|
|
|
|
* createInstrumenter creates a new instrumenter with the
|
|
|
|
* supplied options.
|
|
|
|
* @param {Object} opts - instrumenter options. See the documentation
|
|
|
|
* for the Instrumenter class.
|
|
|
|
*/
|
|
|
|
function createInstrumenter(opts) {
|
|
|
|
return new _instrumenter2.default(opts);
|
|
|
|
}
|
|
|
|
|
|
|
|
exports.createInstrumenter = createInstrumenter;
|
2016-11-03 01:33:53 +01:00
|
|
|
exports.programVisitor = _visitor2.default;
|
|
|
|
exports.readInitialCoverage = _readCoverage2.default;
|