Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.createInstrumenter = createInstrumenter;
|
---|
7 | Object.defineProperty(exports, "programVisitor", {
|
---|
8 | enumerable: true,
|
---|
9 | get: function () {
|
---|
10 | return _visitor.default;
|
---|
11 | }
|
---|
12 | });
|
---|
13 | Object.defineProperty(exports, "readInitialCoverage", {
|
---|
14 | enumerable: true,
|
---|
15 | get: function () {
|
---|
16 | return _readCoverage.default;
|
---|
17 | }
|
---|
18 | });
|
---|
19 | exports.defaultOpts = void 0;
|
---|
20 |
|
---|
21 | var _schema = require("@istanbuljs/schema");
|
---|
22 |
|
---|
23 | var _instrumenter = _interopRequireDefault(require("./instrumenter"));
|
---|
24 |
|
---|
25 | var _visitor = _interopRequireDefault(require("./visitor"));
|
---|
26 |
|
---|
27 | var _readCoverage = _interopRequireDefault(require("./read-coverage"));
|
---|
28 |
|
---|
29 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
---|
30 |
|
---|
31 | /**
|
---|
32 | * createInstrumenter creates a new instrumenter with the
|
---|
33 | * supplied options.
|
---|
34 | * @param {Object} opts - instrumenter options. See the documentation
|
---|
35 | * for the Instrumenter class.
|
---|
36 | */
|
---|
37 | function createInstrumenter(opts) {
|
---|
38 | return new _instrumenter.default(opts);
|
---|
39 | }
|
---|
40 |
|
---|
41 | const defaultOpts = _schema.defaults.instrumenter;
|
---|
42 | exports.defaultOpts = defaultOpts; |
---|
Note:
See
TracBrowser
for help on using the repository browser.