0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00
verdaccio/test/unit/modules/plugin/partials/test-plugin-storage/verdaccio-es6-plugin/dummy.js

32 lines
1.2 KiB
JavaScript
Raw Normal View History

/* eslint-disable max-len */
2019-09-26 11:22:14 -05:00
// this is how a Babel.js transpiled plugin looks like
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
let _createClass = function () { function defineProperties(target, props) { for (let i = 0; i < props.length; i++) { let 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"); } }
let Dummy = function () {
function Dummy(config, logger) {
_classCallCheck(this, Dummy);
this.config = config;
this.logger = logger;
this.data = [];
}
_createClass(Dummy, [{
key: "getPackageStorage",
2019-09-26 11:22:14 -05:00
value: function getPackageStorage() {}
}]);
return Dummy;
}();
2019-09-26 11:22:14 -05:00
exports.default = Dummy;