Skip to content

Commit

Permalink
fixing template names
Browse files Browse the repository at this point in the history
  • Loading branch information
initplatform committed Dec 16, 2019
1 parent 7c5ce2e commit 9d5844c
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions src/modules/app-common/services/app-common.service.spec.ts
Expand Up @@ -3,18 +3,18 @@ import { TestBed } from '@angular/core/testing';
import { AppCommonService } from './app-common.service';

describe('AppCommonService', () => {
let templateService: AppCommonService;
let appCommonService: AppCommonService;

beforeEach(() => {
TestBed.configureTestingModule({
providers: [AppCommonService],
});
templateService = TestBed.get(AppCommonService);
appCommonService = TestBed.get(AppCommonService);
});

describe('getAppCommon$', () => {
it('should return Observable<AppCommon>', () => {
templateService.getAppCommon$().subscribe(response => {
appCommonService.getAppCommon$().subscribe(response => {
expect(response).toEqual({});
});
});
Expand Down
6 changes: 3 additions & 3 deletions src/modules/auth/services/auth.service.spec.ts
Expand Up @@ -3,18 +3,18 @@ import { TestBed } from '@angular/core/testing';
import { AuthService } from './auth.service';

describe('AuthService', () => {
let templateService: AuthService;
let authService: AuthService;

beforeEach(() => {
TestBed.configureTestingModule({
providers: [AuthService],
});
templateService = TestBed.get(AuthService);
authService = TestBed.get(AuthService);
});

describe('getAuth$', () => {
it('should return Observable<Auth>', () => {
templateService.getAuth$().subscribe(response => {
authService.getAuth$().subscribe(response => {
expect(response).toEqual({});
});
});
Expand Down
6 changes: 3 additions & 3 deletions src/modules/charts/services/charts.service.spec.ts
Expand Up @@ -3,18 +3,18 @@ import { TestBed } from '@angular/core/testing';
import { ChartsService } from './charts.service';

describe('ChartsService', () => {
let templateService: ChartsService;
let chartsService: ChartsService;

beforeEach(() => {
TestBed.configureTestingModule({
providers: [ChartsService],
});
templateService = TestBed.get(ChartsService);
chartsService = TestBed.get(ChartsService);
});

describe('getCharts$', () => {
it('should return Observable<Charts>', () => {
templateService.getCharts$().subscribe(response => {
chartsService.getCharts$().subscribe(response => {
expect(response).toEqual({});
});
});
Expand Down
6 changes: 3 additions & 3 deletions src/modules/dashboard/services/dashboard.service.spec.ts
Expand Up @@ -3,18 +3,18 @@ import { TestBed } from '@angular/core/testing';
import { DashboardService } from './dashboard.service';

describe('DashboardService', () => {
let templateService: DashboardService;
let dashboardService: DashboardService;

beforeEach(() => {
TestBed.configureTestingModule({
providers: [DashboardService],
});
templateService = TestBed.get(DashboardService);
dashboardService = TestBed.get(DashboardService);
});

describe('getDashboard$', () => {
it('should return Observable<Dashboard>', () => {
templateService.getDashboard$().subscribe(response => {
dashboardService.getDashboard$().subscribe(response => {
expect(response).toEqual({});
});
});
Expand Down
6 changes: 3 additions & 3 deletions src/modules/error/services/error.service.spec.ts
Expand Up @@ -3,18 +3,18 @@ import { TestBed } from '@angular/core/testing';
import { ErrorService } from './error.service';

describe('ErrorService', () => {
let templateService: ErrorService;
let errorService: ErrorService;

beforeEach(() => {
TestBed.configureTestingModule({
providers: [ErrorService],
});
templateService = TestBed.get(ErrorService);
errorService = TestBed.get(ErrorService);
});

describe('getError$', () => {
it('should return Observable<Error>', () => {
templateService.getError$().subscribe(response => {
errorService.getError$().subscribe(response => {
expect(response).toEqual({});
});
});
Expand Down
6 changes: 3 additions & 3 deletions src/modules/navigation/services/navigation.service.spec.ts
Expand Up @@ -5,7 +5,7 @@ import { ActivatedRouteStub, RouterStub } from '@testing/stubs';
import { NavigationService } from './navigation.service';

describe('NavigationService', () => {
let templateService: NavigationService;
let navigationService: NavigationService;

beforeEach(() => {
TestBed.configureTestingModule({
Expand All @@ -15,12 +15,12 @@ describe('NavigationService', () => {
{ provide: Router, useValue: new RouterStub() },
],
});
templateService = TestBed.get(NavigationService);
navigationService = TestBed.get(NavigationService);
});

describe('sideNavVisible$', () => {
it('should return Observable<boolean>', () => {
templateService.sideNavVisible$().subscribe(response => {
navigationService.sideNavVisible$().subscribe(response => {
expect(response).toEqual(true);
});
});
Expand Down
6 changes: 3 additions & 3 deletions src/modules/tables/services/country.service.spec.ts
Expand Up @@ -4,18 +4,18 @@ import { TestBed } from '@angular/core/testing';
import { CountryService } from './country.service';

describe('CountryService', () => {
let templateService: CountryService;
let countryService: CountryService;

beforeEach(() => {
TestBed.configureTestingModule({
providers: [CountryService, DecimalPipe],
});
templateService = TestBed.get(CountryService);
countryService = TestBed.get(CountryService);
});

describe('countries$', () => {
it('should return Observable<Country[]>', () => {
templateService.countries$.subscribe(response => {
countryService.countries$.subscribe(response => {
expect(response).toBeDefined();
});
});
Expand Down
6 changes: 3 additions & 3 deletions src/modules/tables/services/tables.service.spec.ts
Expand Up @@ -3,18 +3,18 @@ import { TestBed } from '@angular/core/testing';
import { TablesService } from './tables.service';

describe('TablesService', () => {
let templateService: TablesService;
let tablesService: TablesService;

beforeEach(() => {
TestBed.configureTestingModule({
providers: [TablesService],
});
templateService = TestBed.get(TablesService);
tablesService = TestBed.get(TablesService);
});

describe('getTables$', () => {
it('should return Observable<Tables>', () => {
templateService.getTables$().subscribe(response => {
tablesService.getTables$().subscribe(response => {
expect(response).toEqual({});
});
});
Expand Down

0 comments on commit 9d5844c

Please sign in to comment.