mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5415] remove deprecated async method (#7171)
* remove deprecated async method * fix tests and code * test fixes * fix tests
This commit is contained in:
@@ -24,7 +24,7 @@ import {
|
||||
SimpleChange,
|
||||
ComponentFactoryResolver
|
||||
} from '@angular/core';
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { By } from '@angular/platform-browser';
|
||||
import { DynamicExtensionComponent } from './dynamic.component';
|
||||
import { ComponentRegisterService } from '../../services/component-register.service';
|
||||
@@ -50,7 +50,7 @@ describe('DynamicExtensionComponent', () => {
|
||||
let component: DynamicExtensionComponent;
|
||||
let componentFactoryResolver: ComponentFactoryResolver;
|
||||
|
||||
beforeEach(async(() => {
|
||||
beforeEach(() => {
|
||||
componentRegister = new ComponentRegisterService();
|
||||
componentRegister.setComponents({ 'test-component': TestComponent });
|
||||
|
||||
@@ -61,7 +61,7 @@ describe('DynamicExtensionComponent', () => {
|
||||
});
|
||||
|
||||
TestBed.compileComponents();
|
||||
}));
|
||||
});
|
||||
|
||||
describe('Sub-component creation', () => {
|
||||
|
||||
|
Reference in New Issue
Block a user