Updated tests
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
|
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
import { RouterTestingModule } from '@angular/router/testing';
|
||||||
|
import { UiLoaderModule } from '@ui/loader/loader.module';
|
||||||
|
import { DeltagareCardService } from '../../deltagare-card.service';
|
||||||
import { DeltagareTabExperiencesComponent } from './deltagare-tab-experiences.component';
|
import { DeltagareTabExperiencesComponent } from './deltagare-tab-experiences.component';
|
||||||
|
|
||||||
describe('DeltagareTabExperiencesComponent', () => {
|
describe('DeltagareTabExperiencesComponent', () => {
|
||||||
@@ -8,6 +12,8 @@ describe('DeltagareTabExperiencesComponent', () => {
|
|||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
declarations: [DeltagareTabExperiencesComponent],
|
declarations: [DeltagareTabExperiencesComponent],
|
||||||
|
imports: [RouterTestingModule, HttpClientTestingModule, UiLoaderModule],
|
||||||
|
providers: [DeltagareCardService],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
|
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
import { UiLoaderModule } from '@ui/loader/loader.module';
|
||||||
|
import { DeltagareCardService } from '../../deltagare-card.service';
|
||||||
import { DeltagareTabPersonalInformationComponent } from './deltagare-tab-personal-information.component';
|
import { DeltagareTabPersonalInformationComponent } from './deltagare-tab-personal-information.component';
|
||||||
|
|
||||||
describe('DeltagareTabPersonalInformationComponent', () => {
|
describe('DeltagareTabPersonalInformationComponent', () => {
|
||||||
@@ -8,6 +11,8 @@ describe('DeltagareTabPersonalInformationComponent', () => {
|
|||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
declarations: [DeltagareTabPersonalInformationComponent],
|
declarations: [DeltagareTabPersonalInformationComponent],
|
||||||
|
imports: [HttpClientTestingModule, UiLoaderModule],
|
||||||
|
providers: [DeltagareCardService],
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
|
import { HttpClientTestingModule } from '@angular/common/http/testing';
|
||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
import { RouterTestingModule } from '@angular/router/testing';
|
||||||
|
import { UiLoaderModule } from '@ui/loader/loader.module';
|
||||||
|
import { DeltagareCardService } from '../../deltagare-card.service';
|
||||||
import { DeltagareTabSensitiveInformationComponent } from './deltagare-tab-sensitive-information.component';
|
import { DeltagareTabSensitiveInformationComponent } from './deltagare-tab-sensitive-information.component';
|
||||||
|
|
||||||
describe('DeltagareTabSensitiveInformationComponent', () => {
|
describe('DeltagareTabSensitiveInformationComponent', () => {
|
||||||
@@ -8,9 +11,10 @@ describe('DeltagareTabSensitiveInformationComponent', () => {
|
|||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
declarations: [ DeltagareTabSensitiveInformationComponent ]
|
declarations: [DeltagareTabSensitiveInformationComponent],
|
||||||
})
|
imports: [RouterTestingModule, HttpClientTestingModule, UiLoaderModule],
|
||||||
.compileComponents();
|
providers: [DeltagareCardService],
|
||||||
|
}).compileComponents();
|
||||||
});
|
});
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user