OpenSlides/client/src/app/shared/components/media-upload-content/media-upload-content.component.spec.ts
Sean Engelhardt 46a229bb67 Add mediafiles upload from motion form
Refactors the media file upload component into
a shared component to be used in both normal pages
and dialogs.
A dialog was addes into the media file "edit" view
to upload and set attachments on the fly.
2019-02-21 16:48:19 +01:00

26 lines
792 B
TypeScript

import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { MediaUploadContentComponent } from './media-upload-content.component';
import { E2EImportsModule } from 'e2e-imports.module';
describe('MediaUploadContentComponent', () => {
let component: MediaUploadContentComponent;
let fixture: ComponentFixture<MediaUploadContentComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [E2EImportsModule]
}).compileComponents();
}));
beforeEach(() => {
fixture = TestBed.createComponent(MediaUploadContentComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});