1
0

Removed deprecated helper function async

This commit is contained in:
Giuseppe Digilio
2021-01-07 20:12:15 +01:00
parent 4d4e920f0d
commit e5af894077
418 changed files with 2114 additions and 1912 deletions

View File

@@ -1,5 +1,5 @@
import { CUSTOM_ELEMENTS_SCHEMA, DebugElement } from '@angular/core';
import { async, ComponentFixture, inject, TestBed } from '@angular/core/testing';
import { ComponentFixture, inject, TestBed, waitForAsync } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { Store, StoreModule } from '@ngrx/store';
@@ -55,9 +55,10 @@ describe('AuthNavMenuComponent', () => {
userId: EPersonMock.id
};
}
describe('when is a not mobile view', () => {
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
const window = new HostWindowServiceStub(800);
serviceInit();
@@ -251,7 +252,7 @@ describe('AuthNavMenuComponent', () => {
});
describe('when is a mobile view', () => {
beforeEach(async(() => {
beforeEach(waitForAsync(() => {
const window = new HostWindowServiceStub(300);
serviceInit();