1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/unit/modules/plugin/partials/test-plugin-storage/verdaccio-es6-plugin/dummy.js
Juan Picado @jotadeveloper e7400cef71
test: relocate plugin storage
2019-05-20 07:26:40 +02:00

28 lines
1.1 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Dummy = function () {
function Dummy(config, logger) {
_classCallCheck(this, Dummy);
this.config = config;
this.logger = logger;
this.data = [];
}
_createClass(Dummy, [{
key: "getPackageStorage",
value: function getPackageStorage(packageInfo, packagePath) {}
}]);
return Dummy;
}();
exports.default = Dummy;