index.test.js 404 B

1234567891011121314
  1. const Core = require('@uppy/core')
  2. const DashboardPlugin = require('./index')
  3. const StatusBarPlugin = require('@uppy/status-bar')
  4. describe('Dashboard', () => {
  5. it('can safely be added together with the StatusBar without id conflicts', () => {
  6. const core = new Core()
  7. core.use(StatusBarPlugin)
  8. expect(() => {
  9. core.use(DashboardPlugin, { inline: false })
  10. }).not.toThrow()
  11. })
  12. })