Skip to content

Commit

Permalink
- fixed deprecated async fn
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyusung4698 committed Sep 17, 2020
1 parent 76a217b commit e0d2767
Show file tree
Hide file tree
Showing 74 changed files with 231 additions and 228 deletions.
Original file line number Diff line number Diff line change
@@ -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<SettingsFeatureContainerComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [SettingsFeatureContainerComponent]
}).compileComponents();
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -10,7 +10,7 @@ describe('SettingsFormComponent', () => {
let component: SettingsFormComponent;
let fixture: ComponentFixture<SettingsFormComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
CommonModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -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<SettingsSupportComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ SettingsSupportComponent ]
declarations: [SettingsSupportComponent]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { EvaluateItemFrameComponent } from './evaluate-item-frame.component';


describe('EvaluateItemFrameComponent', () => {
let component: EvaluateItemFrameComponent;
let fixture: ComponentFixture<EvaluateItemFrameComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [EvaluateItemFrameComponent]
})
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -9,7 +9,7 @@ describe('EvaluateItemOptionsComponent', () => {
let component: EvaluateItemOptionsComponent;
let fixture: ComponentFixture<EvaluateItemOptionsComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [EvaluateItemOptionsComponent],
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -10,7 +10,7 @@ describe('EvaluateItemPricePredictionComponent', () => {
let component: EvaluateItemPricePredictionComponent;
let fixture: ComponentFixture<EvaluateItemPricePredictionComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [EvaluateItemPricePredictionComponent],
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -7,7 +7,7 @@ describe('EvaluateItemPriceRateFactorsComponent', () => {
let component: EvaluateItemPriceRateFactorsComponent;
let fixture: ComponentFixture<EvaluateItemPriceRateFactorsComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [EvaluateItemPriceRateFactorsComponent],
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -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<EvaluateItemPriceRateGraphComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ EvaluateItemPriceRateGraphComponent ]
declarations: [EvaluateItemPriceRateGraphComponent]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -7,7 +7,7 @@ describe('EvaluateItemPriceRateValuesComponent', () => {
let component: EvaluateItemPriceRateValuesComponent;
let fixture: ComponentFixture<EvaluateItemPriceRateValuesComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [EvaluateItemPriceRateValuesComponent],
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -12,7 +12,7 @@ describe('EvaluateItemPriceRateComponent', () => {
let component: EvaluateItemPriceRateComponent;
let fixture: ComponentFixture<EvaluateItemPriceRateComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [EvaluateItemPriceRateComponent],
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -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<EvaluateItemPriceComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ EvaluateItemPriceComponent ]
declarations: [EvaluateItemPriceComponent]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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<EvaluateItemSearchGraphComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ EvaluateItemSearchGraphComponent ]
declarations: [EvaluateItemSearchGraphComponent]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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<EvaluateItemSearchHeaderComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ EvaluateItemSearchHeaderComponent ]
declarations: [EvaluateItemSearchHeaderComponent]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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<EvaluateItemSearchTableComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [ EvaluateItemSearchTableComponent ]
declarations: [EvaluateItemSearchTableComponent]
})
.compileComponents();
.compileComponents();
}));

beforeEach(() => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -7,7 +7,7 @@ describe('EvaluateItemSearchValuesComponent', () => {
let component: EvaluateItemSearchValuesComponent;
let fixture: ComponentFixture<EvaluateItemSearchValuesComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [EvaluateItemSearchValuesComponent],
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -11,7 +11,7 @@ describe('EvaluateItemSearchComponent', () => {
let component: EvaluateItemSearchComponent;
let fixture: ComponentFixture<EvaluateItemSearchComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [EvaluateItemSearchComponent],
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -10,7 +10,7 @@ describe('InspectItemComponent', () => {
let component: InspectItemComponent;
let fixture: ComponentFixture<InspectItemComponent>;

beforeEach(async(async () => {
beforeEach(waitForAsync(async () => {
TestBed.configureTestingModule({
imports: [
CommonModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -10,7 +10,7 @@ describe('InspectLinksComponent', () => {
let component: InspectLinksComponent;
let fixture: ComponentFixture<InspectLinksComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
CommonModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -11,7 +11,7 @@ describe('InspectMapComponent', () => {
let component: InspectMapComponent;
let fixture: ComponentFixture<InspectMapComponent>;

beforeEach(async(async () => {
beforeEach(waitForAsync(async () => {
TestBed.configureTestingModule({
imports: [
CommonModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -7,7 +7,7 @@ describe('MarketExchangeBarComponent', () => {
let component: MarketExchangeBarComponent;
let fixture: ComponentFixture<MarketExchangeBarComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [MarketExchangeBarComponent],
imports: [
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand All @@ -9,7 +9,7 @@ describe('MarketExchangeFilterItemComponent', () => {
let component: MarketExchangeFilterItemComponent;
let fixture: ComponentFixture<MarketExchangeFilterItemComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [
CommonModule,
Expand Down
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -10,7 +10,7 @@ describe('MarketExchangeFilterComponent', () => {
let component: MarketExchangeFilterComponent;
let fixture: ComponentFixture<MarketExchangeFilterComponent>;

beforeEach(async(() => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
declarations: [MarketExchangeFilterComponent],
imports: [
Expand Down
Loading

0 comments on commit e0d2767

Please sign in to comment.