source: frontend/node_modules/istanbul-lib-instrument/src/index.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 594 bytes
Line 
1const { defaults } = require('@istanbuljs/schema');
2const Instrumenter = require('./instrumenter');
3const programVisitor = require('./visitor');
4const readInitialCoverage = require('./read-coverage');
5
6/**
7 * createInstrumenter creates a new instrumenter with the
8 * supplied options.
9 * @param {Object} opts - instrumenter options. See the documentation
10 * for the Instrumenter class.
11 */
12function createInstrumenter(opts) {
13 return new Instrumenter(opts);
14}
15
16module.exports = {
17 createInstrumenter,
18 programVisitor,
19 readInitialCoverage,
20 defaultOpts: defaults.instrumenter
21};
Note: See TracBrowser for help on using the repository browser.