const { UIPlugin } = require('../../packages/@uppy/core') module.exports = class InvalidPluginWithoutType extends UIPlugin { constructor (uppy, opts) { super(uppy, opts) this.id = 'InvalidPluginWithoutType' this.name = this.constructor.name } run (results) { this.uppy.log({ class: this.constructor.name, method: 'run', results, }) return Promise.resolve('success') } }