mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-17 14:28:13 +00:00
I have removed deprecated async() in @angular/core/testing Angular API and Modified some unit test case
This commit is contained in:
@ -31,8 +31,8 @@ describe('QemuTemplatesComponent', () => {
|
||||
let mockedQemuService = new MockedQemuService();
|
||||
let activatedRoute = new MockedActivatedRoute().get();
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
beforeEach(async() => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [
|
||||
MatIconModule,
|
||||
MatToolbarModule,
|
||||
@ -53,7 +53,7 @@ describe('QemuTemplatesComponent', () => {
|
||||
declarations: [QemuVmTemplatesComponent],
|
||||
schemas: [NO_ERRORS_SCHEMA],
|
||||
}).compileComponents();
|
||||
}));
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(QemuVmTemplatesComponent);
|
||||
|
Reference in New Issue
Block a user