UNPKG

uppy

Version:

Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:

11 lines (9 loc) 299 B
import Core from './index' describe('core/index', () => { it('should expose the uppy core as the default export', () => { expect(typeof Core).toEqual('function') const core = new Core({}) expect(typeof core).toEqual('object') expect(core.constructor.name).toEqual('Uppy') }) })