From e0d276757d4eac2ad6ae3e000eff396b64c41cc7 Mon Sep 17 00:00:00 2001 From: Nicklas Ronge Date: Thu, 17 Sep 2020 16:10:59 +0200 Subject: [PATCH] - fixed deprecated async fn --- .../settings-feature-container.component.spec.ts | 4 ++-- .../settings-form/settings-form.component.spec.ts | 4 ++-- .../settings-support.component.spec.ts | 10 +++++----- .../evaluate-item-frame.component.spec.ts | 4 ++-- .../evaluate-item-options.component.spec.ts | 4 ++-- .../evaluate-item-price-prediction.component.spec.ts | 4 ++-- .../evaluate-item-price-rate-factors.component.spec.ts | 4 ++-- .../evaluate-item-price-rate-graph.component.spec.ts | 10 +++++----- .../evaluate-item-price-rate-values.component.spec.ts | 4 ++-- .../evaluate-item-price-rate.component.spec.ts | 4 ++-- .../evaluate-item-price.component.spec.ts | 10 +++++----- .../evaluate-item-search-graph.component.spec.ts | 10 +++++----- .../evaluate-item-search-header.component.spec.ts | 10 +++++----- .../evaluate-item-search-table.component.spec.ts | 10 +++++----- .../evaluate-item-search-values.component.spec.ts | 4 ++-- .../evaluate-item-search.component.spec.ts | 4 ++-- .../inspect-item/inspect-item.component.spec.ts | 4 ++-- .../inspect-links/inspect-links.component.spec.ts | 4 ++-- .../inspect-map/inspect-map.component.spec.ts | 4 ++-- .../market-exchange-bar.component.spec.ts | 4 ++-- .../market-exchange-filter-item.component.spec.ts | 4 ++-- .../market-exchange-filter.component.spec.ts | 4 ++-- .../market-exchange-price.component.spec.ts | 4 ++-- .../market-exchange/market-exchange.component.spec.ts | 4 ++-- .../market-frame/market-frame.component.spec.ts | 4 ++-- .../market-infinite-scroll.component.spec.ts | 10 +++++----- .../market/component/market-input-base.component.ts | 5 ++++- .../market-input-boolean.component.spec.ts | 4 ++-- .../market-input-number.component.spec.ts | 10 +++++----- .../market-input-range.component.spec.ts | 4 ++-- .../market-input-select-option.component.spec.ts | 4 ++-- .../market-input-select.component.spec.ts | 4 ++-- .../market-input/market-input.component.spec.ts | 10 +++++----- .../market-item-search-bar.component.spec.ts | 4 ++-- .../market-item-search-filter-misc.component.spec.ts | 10 +++++----- .../market-item-search-filter-trade.component.spec.ts | 10 +++++----- .../market-item-search-filter-type.component.spec.ts | 10 +++++----- .../market-item-search-filter.component.spec.ts | 4 ++-- .../market-item-search-result.component.spec.ts | 4 ++-- .../market-item-search-stat-group.component.spec.ts | 10 +++++----- .../market-item-search-stat.component.spec.ts | 4 ++-- .../market-item-search-stats.component.spec.ts | 4 ++-- .../market-item-search.component.spec.ts | 4 ++-- .../market-listing-status.component.spec.ts | 4 ++-- .../market-panel-group.component.spec.ts | 10 +++++----- .../market-panel/market-panel.component.spec.ts | 10 +++++----- .../market-tab-group.component.spec.ts | 10 +++++----- .../component/market-tab/market-tab.component.spec.ts | 10 +++++----- .../trade-message-action.component.spec.ts | 10 +++++----- .../trade-message-bulk.component.spec.ts | 10 +++++----- .../trade-message-direction.component.spec.ts | 10 +++++----- .../trade-message-item.component.spec.ts | 10 +++++----- .../trade-message-map-tier.component.spec.ts | 10 +++++----- .../trade-message-map.component.spec.ts | 10 +++++----- .../trade-message/trade-message.component.spec.ts | 10 +++++----- .../material/component/card/card.component.spec.ts | 10 +++++----- .../select-list/select-list.component.spec.ts | 4 ++-- .../odk/component/header/header.component.spec.ts | 10 +++++----- .../poe/common/background/background.component.spec.ts | 10 +++++----- .../currency-frame/currency-frame.component.spec.ts | 4 ++-- .../item-frame-header.component.spec.ts | 4 ++-- .../item-frame-influences.component.spec.ts | 4 ++-- .../item-frame-level-requirements.component.spec.ts | 4 ++-- .../item-frame-properties.component.spec.ts | 4 ++-- .../item-frame-query.component.spec.ts | 4 ++-- .../item-frame-separator.component.spec.ts | 4 ++-- .../item-frame-sockets.component.spec.ts | 4 ++-- .../item-frame-state.component.spec.ts | 4 ++-- .../item-frame-stats.component.spec.ts | 4 ++-- .../item-frame-value-group.component.spec.ts | 4 ++-- .../item-frame-value-input.component.spec.ts | 4 ++-- .../item-frame-value.component.spec.ts | 4 ++-- .../item/frame/item-frame/item-frame.component.spec.ts | 4 ++-- .../trade-static-frame.component.spec.ts | 4 ++-- 74 files changed, 231 insertions(+), 228 deletions(-) diff --git a/src/app/layout/component/settings-feature-container/settings-feature-container.component.spec.ts b/src/app/layout/component/settings-feature-container/settings-feature-container.component.spec.ts index b4e18f9d..4df42bea 100644 --- a/src/app/layout/component/settings-feature-container/settings-feature-container.component.spec.ts +++ b/src/app/layout/component/settings-feature-container/settings-feature-container.component.spec.ts @@ -1,11 +1,11 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { SettingsFeatureContainerComponent } from './settings-feature-container.component'; describe('SettingsFeatureContainerComponent', () => { let component: SettingsFeatureContainerComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [SettingsFeatureContainerComponent] }).compileComponents(); diff --git a/src/app/layout/component/settings-form/settings-form.component.spec.ts b/src/app/layout/component/settings-form/settings-form.component.spec.ts index 4c9d2383..113f8cdc 100644 --- a/src/app/layout/component/settings-form/settings-form.component.spec.ts +++ b/src/app/layout/component/settings-form/settings-form.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { SettingsFormComponent } from './settings-form.component'; @@ -10,7 +10,7 @@ describe('SettingsFormComponent', () => { let component: SettingsFormComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/layout/component/settings-support/settings-support.component.spec.ts b/src/app/layout/component/settings-support/settings-support.component.spec.ts index 38c8e804..976a2bca 100644 --- a/src/app/layout/component/settings-support/settings-support.component.spec.ts +++ b/src/app/layout/component/settings-support/settings-support.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { SettingsSupportComponent } from './settings-support.component'; + describe('SettingsSupportComponent', () => { let component: SettingsSupportComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ SettingsSupportComponent ] + declarations: [SettingsSupportComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/evaluate/component/evaluate-item-frame/evaluate-item-frame.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-frame/evaluate-item-frame.component.spec.ts index 231dddbd..2c079925 100644 --- a/src/app/modules/evaluate/component/evaluate-item-frame/evaluate-item-frame.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-frame/evaluate-item-frame.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { EvaluateItemFrameComponent } from './evaluate-item-frame.component'; @@ -6,7 +6,7 @@ describe('EvaluateItemFrameComponent', () => { let component: EvaluateItemFrameComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EvaluateItemFrameComponent] }) diff --git a/src/app/modules/evaluate/component/evaluate-item-options/evaluate-item-options.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-options/evaluate-item-options.component.spec.ts index 89f889c0..86a4eb5a 100644 --- a/src/app/modules/evaluate/component/evaluate-item-options/evaluate-item-options.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-options/evaluate-item-options.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { EvaluateItemOptionsComponent } from './evaluate-item-options.component'; @@ -9,7 +9,7 @@ describe('EvaluateItemOptionsComponent', () => { let component: EvaluateItemOptionsComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EvaluateItemOptionsComponent], imports: [ diff --git a/src/app/modules/evaluate/component/evaluate-item-price-prediction/evaluate-item-price-prediction.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-price-prediction/evaluate-item-price-prediction.component.spec.ts index ba458ab5..d5fcb7ce 100644 --- a/src/app/modules/evaluate/component/evaluate-item-price-prediction/evaluate-item-price-prediction.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-price-prediction/evaluate-item-price-prediction.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Subject } from 'rxjs'; import { EvaluateItemPricePredictionComponent } from './evaluate-item-price-prediction.component'; @@ -10,7 +10,7 @@ describe('EvaluateItemPricePredictionComponent', () => { let component: EvaluateItemPricePredictionComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EvaluateItemPricePredictionComponent], imports: [ diff --git a/src/app/modules/evaluate/component/evaluate-item-price-rate-factors/evaluate-item-price-rate-factors.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-price-rate-factors/evaluate-item-price-rate-factors.component.spec.ts index ef1756c4..1a24e63d 100644 --- a/src/app/modules/evaluate/component/evaluate-item-price-rate-factors/evaluate-item-price-rate-factors.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-price-rate-factors/evaluate-item-price-rate-factors.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { EvaluateItemPriceRateFactorsComponent } from './evaluate-item-price-rate-factors.component'; @@ -7,7 +7,7 @@ describe('EvaluateItemPriceRateFactorsComponent', () => { let component: EvaluateItemPriceRateFactorsComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EvaluateItemPriceRateFactorsComponent], imports: [ diff --git a/src/app/modules/evaluate/component/evaluate-item-price-rate-graph/evaluate-item-price-rate-graph.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-price-rate-graph/evaluate-item-price-rate-graph.component.spec.ts index b42d1b55..467a9bd8 100644 --- a/src/app/modules/evaluate/component/evaluate-item-price-rate-graph/evaluate-item-price-rate-graph.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-price-rate-graph/evaluate-item-price-rate-graph.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { EvaluateItemPriceRateGraphComponent } from './evaluate-item-price-rate-graph.component'; + describe('EvaluateItemPriceRateGraphComponent', () => { let component: EvaluateItemPriceRateGraphComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ EvaluateItemPriceRateGraphComponent ] + declarations: [EvaluateItemPriceRateGraphComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/evaluate/component/evaluate-item-price-rate-values/evaluate-item-price-rate-values.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-price-rate-values/evaluate-item-price-rate-values.component.spec.ts index 2882f1df..861c3401 100644 --- a/src/app/modules/evaluate/component/evaluate-item-price-rate-values/evaluate-item-price-rate-values.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-price-rate-values/evaluate-item-price-rate-values.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { EvaluateItemPriceRateValuesComponent } from './evaluate-item-price-rate-values.component'; @@ -7,7 +7,7 @@ describe('EvaluateItemPriceRateValuesComponent', () => { let component: EvaluateItemPriceRateValuesComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EvaluateItemPriceRateValuesComponent], imports: [ diff --git a/src/app/modules/evaluate/component/evaluate-item-price-rate/evaluate-item-price-rate.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-price-rate/evaluate-item-price-rate.component.spec.ts index a3e9f6c0..5c62c1a6 100644 --- a/src/app/modules/evaluate/component/evaluate-item-price-rate/evaluate-item-price-rate.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-price-rate/evaluate-item-price-rate.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { ContextService } from '@shared/module/poe/context'; @@ -12,7 +12,7 @@ describe('EvaluateItemPriceRateComponent', () => { let component: EvaluateItemPriceRateComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EvaluateItemPriceRateComponent], imports: [ diff --git a/src/app/modules/evaluate/component/evaluate-item-price/evaluate-item-price.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-price/evaluate-item-price.component.spec.ts index e3b12ea7..44adacfc 100644 --- a/src/app/modules/evaluate/component/evaluate-item-price/evaluate-item-price.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-price/evaluate-item-price.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { EvaluateItemPriceComponent } from './evaluate-item-price.component'; + describe('EvaluateItemPriceComponent', () => { let component: EvaluateItemPriceComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ EvaluateItemPriceComponent ] + declarations: [EvaluateItemPriceComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/evaluate/component/evaluate-item-search-graph/evaluate-item-search-graph.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-search-graph/evaluate-item-search-graph.component.spec.ts index 60129a40..59ce4896 100644 --- a/src/app/modules/evaluate/component/evaluate-item-search-graph/evaluate-item-search-graph.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-search-graph/evaluate-item-search-graph.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { EvaluateItemSearchGraphComponent } from './evaluate-item-search-graph.component'; + describe('EvaluateItemSearchGraphComponent', () => { let component: EvaluateItemSearchGraphComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ EvaluateItemSearchGraphComponent ] + declarations: [EvaluateItemSearchGraphComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/evaluate/component/evaluate-item-search-header/evaluate-item-search-header.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-search-header/evaluate-item-search-header.component.spec.ts index fc1382db..c8c3c298 100644 --- a/src/app/modules/evaluate/component/evaluate-item-search-header/evaluate-item-search-header.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-search-header/evaluate-item-search-header.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { EvaluateItemSearchHeaderComponent } from './evaluate-item-search-header.component'; + describe('EvaluateItemSearchHeaderComponent', () => { let component: EvaluateItemSearchHeaderComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ EvaluateItemSearchHeaderComponent ] + declarations: [EvaluateItemSearchHeaderComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/evaluate/component/evaluate-item-search-table/evaluate-item-search-table.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-search-table/evaluate-item-search-table.component.spec.ts index 5f282ca5..3afca065 100644 --- a/src/app/modules/evaluate/component/evaluate-item-search-table/evaluate-item-search-table.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-search-table/evaluate-item-search-table.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { EvaluateItemSearchTableComponent } from './evaluate-item-search-table.component'; + describe('EvaluateItemSearchTableComponent', () => { let component: EvaluateItemSearchTableComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ EvaluateItemSearchTableComponent ] + declarations: [EvaluateItemSearchTableComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/evaluate/component/evaluate-item-search-values/evaluate-item-search-values.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-search-values/evaluate-item-search-values.component.spec.ts index 5358a04f..e7f4dc04 100644 --- a/src/app/modules/evaluate/component/evaluate-item-search-values/evaluate-item-search-values.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-search-values/evaluate-item-search-values.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { EvaluateItemSearchValuesComponent } from './evaluate-item-search-values.component'; @@ -7,7 +7,7 @@ describe('EvaluateItemSearchValuesComponent', () => { let component: EvaluateItemSearchValuesComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EvaluateItemSearchValuesComponent], imports: [ diff --git a/src/app/modules/evaluate/component/evaluate-item-search/evaluate-item-search.component.spec.ts b/src/app/modules/evaluate/component/evaluate-item-search/evaluate-item-search.component.spec.ts index ddba08f8..40bf000e 100644 --- a/src/app/modules/evaluate/component/evaluate-item-search/evaluate-item-search.component.spec.ts +++ b/src/app/modules/evaluate/component/evaluate-item-search/evaluate-item-search.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { Subject } from 'rxjs'; @@ -11,7 +11,7 @@ describe('EvaluateItemSearchComponent', () => { let component: EvaluateItemSearchComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [EvaluateItemSearchComponent], imports: [ diff --git a/src/app/modules/inspect/component/inspect-item/inspect-item.component.spec.ts b/src/app/modules/inspect/component/inspect-item/inspect-item.component.spec.ts index b6e2c2fd..e53df7f9 100644 --- a/src/app/modules/inspect/component/inspect-item/inspect-item.component.spec.ts +++ b/src/app/modules/inspect/component/inspect-item/inspect-item.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { AssetService } from '@app/assets'; import { InspectItemComponent } from './inspect-item.component'; @@ -10,7 +10,7 @@ describe('InspectItemComponent', () => { let component: InspectItemComponent; let fixture: ComponentFixture; - beforeEach(async(async () => { + beforeEach(waitForAsync(async () => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/modules/inspect/component/inspect-links/inspect-links.component.spec.ts b/src/app/modules/inspect/component/inspect-links/inspect-links.component.spec.ts index 2bea7084..6b99e9fe 100644 --- a/src/app/modules/inspect/component/inspect-links/inspect-links.component.spec.ts +++ b/src/app/modules/inspect/component/inspect-links/inspect-links.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { InspectLinksComponent } from './inspect-links.component'; @@ -10,7 +10,7 @@ describe('InspectLinksComponent', () => { let component: InspectLinksComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/modules/inspect/component/inspect-map/inspect-map.component.spec.ts b/src/app/modules/inspect/component/inspect-map/inspect-map.component.spec.ts index 36ddb2a1..37a0fb8a 100644 --- a/src/app/modules/inspect/component/inspect-map/inspect-map.component.spec.ts +++ b/src/app/modules/inspect/component/inspect-map/inspect-map.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { AssetService } from '@app/assets'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; @@ -11,7 +11,7 @@ describe('InspectMapComponent', () => { let component: InspectMapComponent; let fixture: ComponentFixture; - beforeEach(async(async () => { + beforeEach(waitForAsync(async () => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/modules/market/component/market-exchange-bar/market-exchange-bar.component.spec.ts b/src/app/modules/market/component/market-exchange-bar/market-exchange-bar.component.spec.ts index dc4dff73..fd6a513a 100644 --- a/src/app/modules/market/component/market-exchange-bar/market-exchange-bar.component.spec.ts +++ b/src/app/modules/market/component/market-exchange-bar/market-exchange-bar.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { MarketExchangeBarComponent } from './market-exchange-bar.component'; @@ -7,7 +7,7 @@ describe('MarketExchangeBarComponent', () => { let component: MarketExchangeBarComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketExchangeBarComponent], imports: [ diff --git a/src/app/modules/market/component/market-exchange-filter-item/market-exchange-filter-item.component.spec.ts b/src/app/modules/market/component/market-exchange-filter-item/market-exchange-filter-item.component.spec.ts index 1807f13f..975ed6c7 100644 --- a/src/app/modules/market/component/market-exchange-filter-item/market-exchange-filter-item.component.spec.ts +++ b/src/app/modules/market/component/market-exchange-filter-item/market-exchange-filter-item.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { MarketExchangeFilterItemComponent } from './market-exchange-filter-item.component'; @@ -9,7 +9,7 @@ describe('MarketExchangeFilterItemComponent', () => { let component: MarketExchangeFilterItemComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/modules/market/component/market-exchange-filter/market-exchange-filter.component.spec.ts b/src/app/modules/market/component/market-exchange-filter/market-exchange-filter.component.spec.ts index c64881c6..7677e39a 100644 --- a/src/app/modules/market/component/market-exchange-filter/market-exchange-filter.component.spec.ts +++ b/src/app/modules/market/component/market-exchange-filter/market-exchange-filter.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { MarketExchangeFilterComponent } from './market-exchange-filter.component'; @@ -10,7 +10,7 @@ describe('MarketExchangeFilterComponent', () => { let component: MarketExchangeFilterComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketExchangeFilterComponent], imports: [ diff --git a/src/app/modules/market/component/market-exchange-price/market-exchange-price.component.spec.ts b/src/app/modules/market/component/market-exchange-price/market-exchange-price.component.spec.ts index b6a713e9..b038e588 100644 --- a/src/app/modules/market/component/market-exchange-price/market-exchange-price.component.spec.ts +++ b/src/app/modules/market/component/market-exchange-price/market-exchange-price.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketExchangePriceComponent } from './market-exchange-price.component'; @@ -6,7 +6,7 @@ describe('MarketExchangePriceComponent', () => { let component: MarketExchangePriceComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketExchangePriceComponent] }) diff --git a/src/app/modules/market/component/market-exchange/market-exchange.component.spec.ts b/src/app/modules/market/component/market-exchange/market-exchange.component.spec.ts index 1adb51ff..9b7ed50e 100644 --- a/src/app/modules/market/component/market-exchange/market-exchange.component.spec.ts +++ b/src/app/modules/market/component/market-exchange/market-exchange.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { MarketExchangeComponent } from './market-exchange.component'; @@ -9,7 +9,7 @@ describe('MarketExchangeComponent', () => { let component: MarketExchangeComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/modules/market/component/market-frame/market-frame.component.spec.ts b/src/app/modules/market/component/market-frame/market-frame.component.spec.ts index 6ae9a541..b87a5ad5 100644 --- a/src/app/modules/market/component/market-frame/market-frame.component.spec.ts +++ b/src/app/modules/market/component/market-frame/market-frame.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { ContextService } from '@shared/module/poe/context'; @@ -11,7 +11,7 @@ describe('MarketFrameComponent', () => { let component: MarketFrameComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/modules/market/component/market-infinite-scroll/market-infinite-scroll.component.spec.ts b/src/app/modules/market/component/market-infinite-scroll/market-infinite-scroll.component.spec.ts index 527731e3..355c2e5a 100644 --- a/src/app/modules/market/component/market-infinite-scroll/market-infinite-scroll.component.spec.ts +++ b/src/app/modules/market/component/market-infinite-scroll/market-infinite-scroll.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketInfiniteScrollComponent } from './market-infinite-scroll.component'; + describe('MarketInfiniteScrollComponent', () => { let component: MarketInfiniteScrollComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketInfiniteScrollComponent ] + declarations: [MarketInfiniteScrollComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-input-base.component.ts b/src/app/modules/market/component/market-input-base.component.ts index 9e952049..8d866e05 100644 --- a/src/app/modules/market/component/market-input-base.component.ts +++ b/src/app/modules/market/component/market-input-base.component.ts @@ -1,8 +1,11 @@ -import { Input } from '@angular/core'; +import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; import { TradeSearchRequest } from '@shared/module/poe/trade'; const JS_NAME_REGEX = /([a-zA-Z_]+)(?:\[(\d+)\])?/; +@Component({ + template: '' +}) export abstract class MarketInputBaseComponent { private _request: TradeSearchRequest; diff --git a/src/app/modules/market/component/market-input-boolean/market-input-boolean.component.spec.ts b/src/app/modules/market/component/market-input-boolean/market-input-boolean.component.spec.ts index a0d302ea..bedacfe7 100644 --- a/src/app/modules/market/component/market-input-boolean/market-input-boolean.component.spec.ts +++ b/src/app/modules/market/component/market-input-boolean/market-input-boolean.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketInputBooleanComponent } from './market-input-boolean.component'; @@ -6,7 +6,7 @@ describe('MarketBooleanInputComponent', () => { let component: MarketInputBooleanComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketInputBooleanComponent] }) diff --git a/src/app/modules/market/component/market-input-number/market-input-number.component.spec.ts b/src/app/modules/market/component/market-input-number/market-input-number.component.spec.ts index 6e45eb2b..1a369d4c 100644 --- a/src/app/modules/market/component/market-input-number/market-input-number.component.spec.ts +++ b/src/app/modules/market/component/market-input-number/market-input-number.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketInputNumberComponent } from './market-input-number.component'; + describe('MarketInputNumberComponent', () => { let component: MarketInputNumberComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketInputNumberComponent ] + declarations: [MarketInputNumberComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-input-range/market-input-range.component.spec.ts b/src/app/modules/market/component/market-input-range/market-input-range.component.spec.ts index d2ce57aa..8c54ccfb 100644 --- a/src/app/modules/market/component/market-input-range/market-input-range.component.spec.ts +++ b/src/app/modules/market/component/market-input-range/market-input-range.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketInputRangeComponent } from './market-input-range.component'; @@ -6,7 +6,7 @@ describe('MarketInputRangeComponent', () => { let component: MarketInputRangeComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketInputRangeComponent] }) diff --git a/src/app/modules/market/component/market-input-select-option/market-input-select-option.component.spec.ts b/src/app/modules/market/component/market-input-select-option/market-input-select-option.component.spec.ts index dc9215a5..9a90d7f4 100644 --- a/src/app/modules/market/component/market-input-select-option/market-input-select-option.component.spec.ts +++ b/src/app/modules/market/component/market-input-select-option/market-input-select-option.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketInputSelectOptionComponent } from './market-input-select-option.component'; @@ -6,7 +6,7 @@ describe('MarketInputSelectOptionComponent', () => { let component: MarketInputSelectOptionComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketInputSelectOptionComponent] }) diff --git a/src/app/modules/market/component/market-input-select/market-input-select.component.spec.ts b/src/app/modules/market/component/market-input-select/market-input-select.component.spec.ts index 591d0c0e..74eb9a6e 100644 --- a/src/app/modules/market/component/market-input-select/market-input-select.component.spec.ts +++ b/src/app/modules/market/component/market-input-select/market-input-select.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketInputSelectComponent } from './market-input-select.component'; @@ -6,7 +6,7 @@ describe('MarketInputSelectComponent', () => { let component: MarketInputSelectComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketInputSelectComponent] }) diff --git a/src/app/modules/market/component/market-input/market-input.component.spec.ts b/src/app/modules/market/component/market-input/market-input.component.spec.ts index b6fb9b78..e89b5dd6 100644 --- a/src/app/modules/market/component/market-input/market-input.component.spec.ts +++ b/src/app/modules/market/component/market-input/market-input.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketInputComponent } from './market-input.component'; + describe('MarketInputComponent', () => { let component: MarketInputComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketInputComponent ] + declarations: [MarketInputComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-item-search-bar/market-item-search-bar.component.spec.ts b/src/app/modules/market/component/market-item-search-bar/market-item-search-bar.component.spec.ts index a717030b..dc363b12 100644 --- a/src/app/modules/market/component/market-item-search-bar/market-item-search-bar.component.spec.ts +++ b/src/app/modules/market/component/market-item-search-bar/market-item-search-bar.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { MarketItemSearchBarComponent } from './market-item-search-bar.component'; @@ -10,7 +10,7 @@ describe('MarketItemSearchBarComponent', () => { let component: MarketItemSearchBarComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketItemSearchBarComponent], imports: [ diff --git a/src/app/modules/market/component/market-item-search-filter-misc/market-item-search-filter-misc.component.spec.ts b/src/app/modules/market/component/market-item-search-filter-misc/market-item-search-filter-misc.component.spec.ts index 00c48885..a39d70d6 100644 --- a/src/app/modules/market/component/market-item-search-filter-misc/market-item-search-filter-misc.component.spec.ts +++ b/src/app/modules/market/component/market-item-search-filter-misc/market-item-search-filter-misc.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketItemSearchFilterMiscComponent } from './market-item-search-filter-misc.component'; + describe('MarketItemSearchFilterMiscComponent', () => { let component: MarketItemSearchFilterMiscComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketItemSearchFilterMiscComponent ] + declarations: [MarketItemSearchFilterMiscComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-item-search-filter-trade/market-item-search-filter-trade.component.spec.ts b/src/app/modules/market/component/market-item-search-filter-trade/market-item-search-filter-trade.component.spec.ts index 806c2f28..31cbbb38 100644 --- a/src/app/modules/market/component/market-item-search-filter-trade/market-item-search-filter-trade.component.spec.ts +++ b/src/app/modules/market/component/market-item-search-filter-trade/market-item-search-filter-trade.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketItemSearchFilterTradeComponent } from './market-item-search-filter-trade.component'; + describe('MarketItemSearchFilterTradeComponent', () => { let component: MarketItemSearchFilterTradeComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketItemSearchFilterTradeComponent ] + declarations: [MarketItemSearchFilterTradeComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-item-search-filter-type/market-item-search-filter-type.component.spec.ts b/src/app/modules/market/component/market-item-search-filter-type/market-item-search-filter-type.component.spec.ts index 5f68a70d..6b3ae35d 100644 --- a/src/app/modules/market/component/market-item-search-filter-type/market-item-search-filter-type.component.spec.ts +++ b/src/app/modules/market/component/market-item-search-filter-type/market-item-search-filter-type.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketItemSearchFilterTypeComponent } from './market-item-search-filter-type.component'; + describe('MarketItemSearchFilterTypeComponent', () => { let component: MarketItemSearchFilterTypeComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketItemSearchFilterTypeComponent ] + declarations: [MarketItemSearchFilterTypeComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-item-search-filter/market-item-search-filter.component.spec.ts b/src/app/modules/market/component/market-item-search-filter/market-item-search-filter.component.spec.ts index 67e77ec1..02ac4e34 100644 --- a/src/app/modules/market/component/market-item-search-filter/market-item-search-filter.component.spec.ts +++ b/src/app/modules/market/component/market-item-search-filter/market-item-search-filter.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketItemSearchFilterComponent } from './market-item-search-filter.component'; @@ -6,7 +6,7 @@ describe('MarketItemSearchFilterComponent', () => { let component: MarketItemSearchFilterComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketItemSearchFilterComponent] }) diff --git a/src/app/modules/market/component/market-item-search-result/market-item-search-result.component.spec.ts b/src/app/modules/market/component/market-item-search-result/market-item-search-result.component.spec.ts index 4b744e05..a5c60aea 100644 --- a/src/app/modules/market/component/market-item-search-result/market-item-search-result.component.spec.ts +++ b/src/app/modules/market/component/market-item-search-result/market-item-search-result.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { async, ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketItemSearchResultComponent } from './market-item-search-result.component'; @@ -6,7 +6,7 @@ describe('MarketItemSearchResultComponent', () => { let component: MarketItemSearchResultComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ MarketItemSearchResultComponent ] }) diff --git a/src/app/modules/market/component/market-item-search-stat-group/market-item-search-stat-group.component.spec.ts b/src/app/modules/market/component/market-item-search-stat-group/market-item-search-stat-group.component.spec.ts index 4a3e36b3..5f87f3e2 100644 --- a/src/app/modules/market/component/market-item-search-stat-group/market-item-search-stat-group.component.spec.ts +++ b/src/app/modules/market/component/market-item-search-stat-group/market-item-search-stat-group.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketItemSearchStatGroupComponent } from './market-item-search-stat-group.component'; + describe('MarketItemSearchStatGroupComponent', () => { let component: MarketItemSearchStatGroupComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketItemSearchStatGroupComponent ] + declarations: [MarketItemSearchStatGroupComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-item-search-stat/market-item-search-stat.component.spec.ts b/src/app/modules/market/component/market-item-search-stat/market-item-search-stat.component.spec.ts index f1de9d0d..278a29b6 100644 --- a/src/app/modules/market/component/market-item-search-stat/market-item-search-stat.component.spec.ts +++ b/src/app/modules/market/component/market-item-search-stat/market-item-search-stat.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { TradeStatsTypePipe } from '@shared/module/poe/trade'; import { MarketItemSearchStatComponent } from './market-item-search-stat.component'; @@ -10,7 +10,7 @@ describe('MarketItemSearchStatComponent', () => { let component: MarketItemSearchStatComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketItemSearchStatComponent, TradeStatsTypePipe], imports: [ diff --git a/src/app/modules/market/component/market-item-search-stats/market-item-search-stats.component.spec.ts b/src/app/modules/market/component/market-item-search-stats/market-item-search-stats.component.spec.ts index 9d2af0ee..a9c5deaa 100644 --- a/src/app/modules/market/component/market-item-search-stats/market-item-search-stats.component.spec.ts +++ b/src/app/modules/market/component/market-item-search-stats/market-item-search-stats.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { MarketItemSearchStatsComponent } from './market-item-search-stats.component'; @@ -9,7 +9,7 @@ describe('MarketItemSearchStatsComponent', () => { let component: MarketItemSearchStatsComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketItemSearchStatsComponent], imports: [ diff --git a/src/app/modules/market/component/market-item-search/market-item-search.component.spec.ts b/src/app/modules/market/component/market-item-search/market-item-search.component.spec.ts index 9723bac6..b6d32bad 100644 --- a/src/app/modules/market/component/market-item-search/market-item-search.component.spec.ts +++ b/src/app/modules/market/component/market-item-search/market-item-search.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; @@ -12,7 +12,7 @@ describe('MarketItemSearchComponent', () => { let component: MarketItemSearchComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketItemSearchComponent], imports: [ diff --git a/src/app/modules/market/component/market-listing-status/market-listing-status.component.spec.ts b/src/app/modules/market/component/market-listing-status/market-listing-status.component.spec.ts index b5db63b2..b82cab55 100644 --- a/src/app/modules/market/component/market-listing-status/market-listing-status.component.spec.ts +++ b/src/app/modules/market/component/market-listing-status/market-listing-status.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { CommonModule } from '@shared/module/common/common.module'; import { MarketListingStatusComponent } from './market-listing-status.component'; @@ -8,7 +8,7 @@ describe('MarketListingStatusComponent', () => { let component: MarketListingStatusComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [MarketListingStatusComponent], imports: [ diff --git a/src/app/modules/market/component/market-panel-group/market-panel-group.component.spec.ts b/src/app/modules/market/component/market-panel-group/market-panel-group.component.spec.ts index aecd566c..7c3d789a 100644 --- a/src/app/modules/market/component/market-panel-group/market-panel-group.component.spec.ts +++ b/src/app/modules/market/component/market-panel-group/market-panel-group.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketPanelGroupComponent } from './market-panel-group.component'; + describe('MarketPanelGroupComponent', () => { let component: MarketPanelGroupComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketPanelGroupComponent ] + declarations: [MarketPanelGroupComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-panel/market-panel.component.spec.ts b/src/app/modules/market/component/market-panel/market-panel.component.spec.ts index 098e83a8..d07d3d21 100644 --- a/src/app/modules/market/component/market-panel/market-panel.component.spec.ts +++ b/src/app/modules/market/component/market-panel/market-panel.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketPanelComponent } from './market-panel.component'; + describe('MarketPanelComponent', () => { let component: MarketPanelComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketPanelComponent ] + declarations: [MarketPanelComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-tab-group/market-tab-group.component.spec.ts b/src/app/modules/market/component/market-tab-group/market-tab-group.component.spec.ts index 37dbee06..b4d4c630 100644 --- a/src/app/modules/market/component/market-tab-group/market-tab-group.component.spec.ts +++ b/src/app/modules/market/component/market-tab-group/market-tab-group.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketTabGroupComponent } from './market-tab-group.component'; + describe('MarketTabGroupComponent', () => { let component: MarketTabGroupComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketTabGroupComponent ] + declarations: [MarketTabGroupComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/market/component/market-tab/market-tab.component.spec.ts b/src/app/modules/market/component/market-tab/market-tab.component.spec.ts index 77ea8b05..8a2dadb3 100644 --- a/src/app/modules/market/component/market-tab/market-tab.component.spec.ts +++ b/src/app/modules/market/component/market-tab/market-tab.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { MarketTabComponent } from './market-tab.component'; + describe('MarketTabComponent', () => { let component: MarketTabComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ MarketTabComponent ] + declarations: [MarketTabComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/trade/component/trade-message-action/trade-message-action.component.spec.ts b/src/app/modules/trade/component/trade-message-action/trade-message-action.component.spec.ts index 62f87299..7fa3ee73 100644 --- a/src/app/modules/trade/component/trade-message-action/trade-message-action.component.spec.ts +++ b/src/app/modules/trade/component/trade-message-action/trade-message-action.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TradeMessageActionComponent } from './trade-message-action.component'; + describe('TradeMessageActionComponent', () => { let component: TradeMessageActionComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ TradeMessageActionComponent ] + declarations: [TradeMessageActionComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/trade/component/trade-message-bulk/trade-message-bulk.component.spec.ts b/src/app/modules/trade/component/trade-message-bulk/trade-message-bulk.component.spec.ts index 3f003ecf..6172c209 100644 --- a/src/app/modules/trade/component/trade-message-bulk/trade-message-bulk.component.spec.ts +++ b/src/app/modules/trade/component/trade-message-bulk/trade-message-bulk.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TradeMessageBulkComponent } from './trade-message-bulk.component'; + describe('TradeMessageBulkComponent', () => { let component: TradeMessageBulkComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ TradeMessageBulkComponent ] + declarations: [TradeMessageBulkComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/trade/component/trade-message-direction/trade-message-direction.component.spec.ts b/src/app/modules/trade/component/trade-message-direction/trade-message-direction.component.spec.ts index 29d07e75..f11440b5 100644 --- a/src/app/modules/trade/component/trade-message-direction/trade-message-direction.component.spec.ts +++ b/src/app/modules/trade/component/trade-message-direction/trade-message-direction.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TradeMessageDirectionComponent } from './trade-message-direction.component'; + describe('TradeMessageDirectionComponent', () => { let component: TradeMessageDirectionComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ TradeMessageDirectionComponent ] + declarations: [TradeMessageDirectionComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/trade/component/trade-message-item/trade-message-item.component.spec.ts b/src/app/modules/trade/component/trade-message-item/trade-message-item.component.spec.ts index 933df5f1..c7360adb 100644 --- a/src/app/modules/trade/component/trade-message-item/trade-message-item.component.spec.ts +++ b/src/app/modules/trade/component/trade-message-item/trade-message-item.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TradeMessageItemComponent } from './trade-message-item.component'; + describe('TradeMessageItemComponent', () => { let component: TradeMessageItemComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ TradeMessageItemComponent ] + declarations: [TradeMessageItemComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/trade/component/trade-message-map-tier/trade-message-map-tier.component.spec.ts b/src/app/modules/trade/component/trade-message-map-tier/trade-message-map-tier.component.spec.ts index 9a833055..e95be020 100644 --- a/src/app/modules/trade/component/trade-message-map-tier/trade-message-map-tier.component.spec.ts +++ b/src/app/modules/trade/component/trade-message-map-tier/trade-message-map-tier.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TradeMessageMapTierComponent } from './trade-message-map-tier.component'; + describe('TradeMessageMapTierComponent', () => { let component: TradeMessageMapTierComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ TradeMessageMapTierComponent ] + declarations: [TradeMessageMapTierComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/trade/component/trade-message-map/trade-message-map.component.spec.ts b/src/app/modules/trade/component/trade-message-map/trade-message-map.component.spec.ts index 4493a574..d73f49a8 100644 --- a/src/app/modules/trade/component/trade-message-map/trade-message-map.component.spec.ts +++ b/src/app/modules/trade/component/trade-message-map/trade-message-map.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TradeMessageMapComponent } from './trade-message-map.component'; + describe('TradeMessageMapComponent', () => { let component: TradeMessageMapComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ TradeMessageMapComponent ] + declarations: [TradeMessageMapComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/modules/trade/component/trade-message/trade-message.component.spec.ts b/src/app/modules/trade/component/trade-message/trade-message.component.spec.ts index 91f133b7..3e9dfeb0 100644 --- a/src/app/modules/trade/component/trade-message/trade-message.component.spec.ts +++ b/src/app/modules/trade/component/trade-message/trade-message.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { TradeMessageComponent } from './trade-message.component'; + describe('TradeMessageComponent', () => { let component: TradeMessageComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ TradeMessageComponent ] + declarations: [TradeMessageComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/shared/module/material/component/card/card.component.spec.ts b/src/app/shared/module/material/component/card/card.component.spec.ts index e141708a..e5c4a589 100644 --- a/src/app/shared/module/material/component/card/card.component.spec.ts +++ b/src/app/shared/module/material/component/card/card.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { CardComponent } from './card.component'; + describe('CardComponent', () => { let component: CardComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ CardComponent ] + declarations: [CardComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/shared/module/material/component/select-list/select-list.component.spec.ts b/src/app/shared/module/material/component/select-list/select-list.component.spec.ts index 6b7fc1df..7afc5f33 100644 --- a/src/app/shared/module/material/component/select-list/select-list.component.spec.ts +++ b/src/app/shared/module/material/component/select-list/select-list.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core'; import { MaterialModule } from '../../material.module'; @@ -9,7 +9,7 @@ describe('SelectListComponent', () => { let component: SelectListComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ MaterialModule, diff --git a/src/app/shared/module/odk/component/header/header.component.spec.ts b/src/app/shared/module/odk/component/header/header.component.spec.ts index 2d0479d7..a97456d8 100644 --- a/src/app/shared/module/odk/component/header/header.component.spec.ts +++ b/src/app/shared/module/odk/component/header/header.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { HeaderComponent } from './header.component'; + describe('HeaderComponent', () => { let component: HeaderComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ HeaderComponent ] + declarations: [HeaderComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/shared/module/poe/common/background/background.component.spec.ts b/src/app/shared/module/poe/common/background/background.component.spec.ts index 60ec3e8d..71d2ba38 100644 --- a/src/app/shared/module/poe/common/background/background.component.spec.ts +++ b/src/app/shared/module/poe/common/background/background.component.spec.ts @@ -1,16 +1,16 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BackgroundComponent } from './background.component'; + describe('BackgroundComponent', () => { let component: BackgroundComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ - declarations: [ BackgroundComponent ] + declarations: [BackgroundComponent] }) - .compileComponents(); + .compileComponents(); })); beforeEach(() => { diff --git a/src/app/shared/module/poe/currency/frame/currency-frame/currency-frame.component.spec.ts b/src/app/shared/module/poe/currency/frame/currency-frame/currency-frame.component.spec.ts index c3383fd8..acb09a40 100644 --- a/src/app/shared/module/poe/currency/frame/currency-frame/currency-frame.component.spec.ts +++ b/src/app/shared/module/poe/currency/frame/currency-frame/currency-frame.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { CurrencyFrameComponent } from './currency-frame.component'; @@ -9,7 +9,7 @@ describe('CurrencyFrameComponent', () => { let component: CurrencyFrameComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [CurrencyFrameComponent], imports: [ diff --git a/src/app/shared/module/poe/item/frame/item-frame-header/item-frame-header.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-header/item-frame-header.component.spec.ts index 53e7a3d6..a2f49477 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-header/item-frame-header.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-header/item-frame-header.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { ItemFrameHeaderComponent } from './item-frame-header.component'; @@ -10,7 +10,7 @@ describe('ItemFrameHeaderComponent', () => { let component: ItemFrameHeaderComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-influences/item-frame-influences.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-influences/item-frame-influences.component.spec.ts index 66ac2dac..c1b4d34e 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-influences/item-frame-influences.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-influences/item-frame-influences.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { ItemFrameInfluencesComponent } from './item-frame-influences.component'; @@ -10,7 +10,7 @@ describe('ItemFrameInfluencesComponent', () => { let component: ItemFrameInfluencesComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-level-requirements/item-frame-level-requirements.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-level-requirements/item-frame-level-requirements.component.spec.ts index cbaf4f46..d7377413 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-level-requirements/item-frame-level-requirements.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-level-requirements/item-frame-level-requirements.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { ItemFrameLevelRequirementsComponent } from './item-frame-level-requirements.component'; @@ -10,7 +10,7 @@ describe('ItemFrameLevelRequirementsComponent', () => { let component: ItemFrameLevelRequirementsComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-properties/item-frame-properties.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-properties/item-frame-properties.component.spec.ts index eed42963..d75a002c 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-properties/item-frame-properties.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-properties/item-frame-properties.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { ItemCategory } from '../../base-item-type'; @@ -10,7 +10,7 @@ describe('ItemFramePropertiesComponent', () => { let component: ItemFramePropertiesComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-query/item-frame-query.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-query/item-frame-query.component.spec.ts index 1bccb19d..60601689 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-query/item-frame-query.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-query/item-frame-query.component.spec.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; import { EventEmitter } from '@angular/core'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { ItemFrameComponent } from '../item-frame/item-frame.component'; import { ItemFrameQueryComponent } from './item-frame-query.component'; @@ -11,7 +11,7 @@ describe('ItemFrameQueryComponent', () => { let component: ItemFrameQueryComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-separator/item-frame-separator.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-separator/item-frame-separator.component.spec.ts index 8dbff04f..83f73afd 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-separator/item-frame-separator.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-separator/item-frame-separator.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { ItemFrameSeparatorComponent } from './item-frame-separator.component'; @@ -9,7 +9,7 @@ describe('ItemFrameSeparatorComponent', () => { let component: ItemFrameSeparatorComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-sockets/item-frame-sockets.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-sockets/item-frame-sockets.component.spec.ts index 1f29c78e..2322048e 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-sockets/item-frame-sockets.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-sockets/item-frame-sockets.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { ItemFrameComponent } from '../item-frame/item-frame.component'; import { ItemFrameSocketsComponent } from './item-frame-sockets.component'; @@ -10,7 +10,7 @@ describe('ItemFrameSocketsComponent', () => { let component: ItemFrameSocketsComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-state/item-frame-state.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-state/item-frame-state.component.spec.ts index 3ee859ff..463aca52 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-state/item-frame-state.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-state/item-frame-state.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { ItemFrameStateComponent } from './item-frame-state.component'; @@ -10,7 +10,7 @@ describe('ItemFrameStateComponent', () => { let component: ItemFrameStateComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-stats/item-frame-stats.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-stats/item-frame-stats.component.spec.ts index 0e21c7ed..2198448f 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-stats/item-frame-stats.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-stats/item-frame-stats.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { StatGroupPipe, StatTransformPipe } from '../../stat'; @@ -11,7 +11,7 @@ describe('ItemFrameStatsComponent', () => { let component: ItemFrameStatsComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-value-group/item-frame-value-group.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-value-group/item-frame-value-group.component.spec.ts index 8303be1a..badd1114 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-value-group/item-frame-value-group.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-value-group/item-frame-value-group.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { ItemFrameValueGroupComponent } from './item-frame-value-group.component'; @@ -9,7 +9,7 @@ describe('ItemFrameValueGroupComponent', () => { let component: ItemFrameValueGroupComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-value-input/item-frame-value-input.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-value-input/item-frame-value-input.component.spec.ts index dac319bc..4e7b8f9f 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-value-input/item-frame-value-input.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-value-input/item-frame-value-input.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { ItemFrameValueInputComponent } from './item-frame-value-input.component'; @@ -9,7 +9,7 @@ describe('ItemFrameValueInputComponent', () => { let component: ItemFrameValueInputComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame-value/item-frame-value.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame-value/item-frame-value.component.spec.ts index 3d6e42b0..8b54a2e6 100644 --- a/src/app/shared/module/poe/item/frame/item-frame-value/item-frame-value.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame-value/item-frame-value.component.spec.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; import { EventEmitter } from '@angular/core'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { ItemFrameQueryComponent } from '../item-frame-query/item-frame-query.component'; import { ItemFrameComponent } from '../item-frame/item-frame.component'; @@ -12,7 +12,7 @@ describe('ItemFrameValueComponent', () => { let component: ItemFrameValueComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/item/frame/item-frame/item-frame.component.spec.ts b/src/app/shared/module/poe/item/frame/item-frame/item-frame.component.spec.ts index 21b1934a..73283413 100644 --- a/src/app/shared/module/poe/item/frame/item-frame/item-frame.component.spec.ts +++ b/src/app/shared/module/poe/item/frame/item-frame/item-frame.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { Language } from '@data/poe/schema'; import { Item, ItemRarity } from '../../item'; @@ -15,7 +15,7 @@ describe('ItemFrameComponent', () => { let component: ItemFrameComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ CommonModule, diff --git a/src/app/shared/module/poe/trade/statics/trade-static-frame/trade-static-frame.component.spec.ts b/src/app/shared/module/poe/trade/statics/trade-static-frame/trade-static-frame.component.spec.ts index 199f787b..a361d745 100644 --- a/src/app/shared/module/poe/trade/statics/trade-static-frame/trade-static-frame.component.spec.ts +++ b/src/app/shared/module/poe/trade/statics/trade-static-frame/trade-static-frame.component.spec.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { BrowserModule } from '@angular/platform-browser'; import { TradeStaticPipe } from '../trade-static.pipe'; import { TradeStaticFrameComponent } from './trade-static-frame.component'; @@ -10,7 +10,7 @@ describe('TradeStaticFrameComponent', () => { let component: TradeStaticFrameComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [TradeStaticFrameComponent, TradeStaticPipe], imports: [