This commit is contained in:
Eugenio Romano
2018-06-08 01:22:11 +01:00
parent cb88a22a76
commit fd7bb49289
7 changed files with 10 additions and 10 deletions

View File

@@ -97,6 +97,7 @@ describe('ProcessAttachmentListComponent', () => {
});
afterEach(() => {
fixture.destroy();
const overlayContainers = <any> window.document.querySelectorAll('.cdk-overlay-container');
overlayContainers.forEach((overlayContainer) => {

View File

@@ -562,7 +562,6 @@ class EmptyTemplateComponent {
}
describe('Custom EmptyTemplateComponent', () => {
let component: EmptyTemplateComponent;
let fixture: ComponentFixture<EmptyTemplateComponent>;
setupTestBed({
@@ -574,7 +573,6 @@ describe('Custom EmptyTemplateComponent', () => {
beforeEach(() => {
fixture = TestBed.createComponent(EmptyTemplateComponent);
fixture.detectChanges();
component = fixture.componentInstance;
});
it('should render the custom template', async(() => {

View File

@@ -64,7 +64,7 @@ describe('TaskFiltersComponent', () => {
error: 'wrong request'
};
let mockErrorFilterPromise = new Promise.reject(mockErrorFilterList);
let mockErrorFilterPromise = Promise.reject(mockErrorFilterList);
let component: TaskFiltersComponent;
let fixture: ComponentFixture<TaskFiltersComponent>;