Skip to content

Commit

Permalink
Fix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonardo Mendoza Fernadez authored and Leonardo Mendoza Fernadez committed Jan 13, 2024
1 parent b4b2c45 commit 42cc7dd
Show file tree
Hide file tree
Showing 4 changed files with 3,704 additions and 3,220 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@
"gulp-clean": "^0.4.0",
"gulp-flatten": "^0.4.0",
"helphero": "^3.6.0",
"install": "^0.13.0",
"jwt-decode": "^3.1.2",
"karma-jasmine-html-reporter": "^1.7.0",
"lodash": "^4.17.20",
"ngx-cookie-service": "^15",
"ngx-cookie-service": "^16",
"nodemailer": "^6.7.2",
"properties-to-json": "^0.1.4",
"puppeteer": "^19.2.2",
"rxjs": "~6.5.2",
"stream": "0.0.2",
"timers": "^0.1.1",
Expand Down Expand Up @@ -103,7 +103,7 @@
"jasmine-core": "~3.8.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.16",
"karma-chrome-launcher": "~3.1.0",
"karma-chrome-launcher": "~3.2",
"karma-coverage-istanbul-reporter": "^2.1.0",
"karma-jasmine": "~4.0.0",
"lighthouse": "^5.6.0",
Expand All @@ -114,6 +114,7 @@
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"protractor": "^7.0.0",
"puppeteer": "^21.7.0",
"puppeteer-tsd": "^0.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -125,4 +126,4 @@
"tslint-config-prettier": "^1.18.0",
"typescript": "~5.1.6"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { Overlay } from '@angular/cdk/overlay'
import { RegisterService } from '../../../core/register/register.service'
import { ReactivationService } from '../../../core/reactivation/reactivation.service'
import { MdePopoverModule } from '../../../cdk/popover'
import { MatLegacyAutocomplete } from '@angular/material/legacy-autocomplete'

describe('FormPersonalComponent', () => {
let component: FormPersonalComponent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ import { ErrorHandlerService } from '../../../core/error-handler/error-handler.s
import { ReactivationService } from '../../../core/reactivation/reactivation.service'
import { Register2Service } from '../../../core/register2/register2.service'
import { FormCurrentEmploymentComponent } from './form-current-employment.component'
import { MatLegacyAutocomplete, MatLegacyAutocompleteModule } from '@angular/material/legacy-autocomplete'
import { SharedModule } from 'src/app/shared/shared.module'

describe('FormPersonalComponent', () => {
let component: FormCurrentEmploymentComponent
let fixture: ComponentFixture<FormCurrentEmploymentComponent>

beforeEach(() => {
TestBed.configureTestingModule({
imports: [HttpClientTestingModule, MdePopoverModule, RouterTestingModule],
imports: [HttpClientTestingModule, MdePopoverModule, RouterTestingModule, MatLegacyAutocompleteModule, SharedModule],
declarations: [FormCurrentEmploymentComponent],
providers: [
WINDOW_PROVIDERS,
Expand Down
Loading

0 comments on commit 42cc7dd

Please sign in to comment.