From 03d0c3533524f0649ba4b3ee4dbcc4e83596226c Mon Sep 17 00:00:00 2001 From: Daniel McFadden Date: Sat, 17 Apr 2021 00:06:58 +0100 Subject: [PATCH] update commit --- package.json | 22 +++++++++---------- src/app/app-routing.module.ts | 2 +- src/app/app.component.spec.ts | 4 ++-- .../auth/login/login.component.spec.ts | 4 ++-- .../auth/signup/signup.component.spec.ts | 4 ++-- .../generic/footer/footer.component.spec.ts | 4 ++-- .../generic/header/header.component.spec.ts | 4 ++-- .../cat-highlight.component.spec.ts | 4 ++-- .../dog-highlight.component.spec.ts | 4 ++-- .../featured-animal.component.spec.ts | 4 ++-- .../layout/home/home.component.spec.ts | 4 ++-- .../newsletter/newsletter.component.spec.ts | 4 ++-- .../page-not-found.component.spec.ts | 4 ++-- .../animal-profile.component.spec.ts | 4 ++-- .../display-animals.component.spec.ts | 4 ++-- .../filters/filters.component.spec.ts | 4 ++-- .../profile-squares.component.spec.ts | 4 ++-- .../legal/about/about.component.spec.ts | 4 ++-- .../privacy-policy.component.spec.ts | 4 ++-- 19 files changed, 46 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index d416b5cfb..ad5e14d5c 100644 --- a/package.json +++ b/package.json @@ -11,15 +11,15 @@ }, "private": true, "dependencies": { - "@angular/animations": "~10.0.11", - "@angular/common": "~10.0.11", - "@angular/compiler": "~10.0.11", - "@angular/core": "~10.0.11", + "@angular/animations": "~11.2.10", + "@angular/common": "~11.2.10", + "@angular/compiler": "~11.2.10", + "@angular/core": "~11.2.10", "@angular/fire": "^5.4.2", - "@angular/forms": "~10.0.11", - "@angular/platform-browser": "~10.0.11", - "@angular/platform-browser-dynamic": "~10.0.11", - "@angular/router": "~10.0.11", + "@angular/forms": "~11.2.10", + "@angular/platform-browser": "~11.2.10", + "@angular/platform-browser-dynamic": "~11.2.10", + "@angular/router": "~11.2.10", "@toverux/ngx-sweetalert2": "^4.0.0", "angularfire2": "^5.1.1", "bootstrap": "^4.3.1", @@ -39,8 +39,8 @@ "@angular-devkit/architect": "<0.900 || ^0.900.0-0 || ^9.0.0-0", "@angular-devkit/build-angular": "~0.802.2", "@angular/cli": "^10.0.7", - "@angular/compiler-cli": "^10.0.11", - "@angular/language-service": "~10.0.11", + "@angular/compiler-cli": "^11.2.10", + "@angular/language-service": "~11.2.10", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "@types/node": "~8.9.4", @@ -61,6 +61,6 @@ "protractor": "~5.4.0", "ts-node": "~7.0.0", "tslint": "~5.11.0", - "typescript": "~3.9.7" + "typescript": "~4.1.5" } } diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 3b22a9335..c647e9eff 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -49,7 +49,7 @@ const routes: Routes = [ ]; @NgModule({ - imports: [RouterModule.forRoot(routes)], + imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })], exports: [RouterModule] }) export class AppRoutingModule { } diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index 7360d02d6..758866406 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -1,9 +1,9 @@ -import { TestBed, async } from '@angular/core/testing'; +import { TestBed, waitForAsync } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AppComponent } from './app.component'; describe('AppComponent', () => { - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ imports: [ RouterTestingModule diff --git a/src/app/components/auth/login/login.component.spec.ts b/src/app/components/auth/login/login.component.spec.ts index d6d85a846..eb0c71a94 100644 --- a/src/app/components/auth/login/login.component.spec.ts +++ b/src/app/components/auth/login/login.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { LoginComponent } from './login.component'; @@ -6,7 +6,7 @@ describe('LoginComponent', () => { let component: LoginComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ LoginComponent ] }) diff --git a/src/app/components/auth/signup/signup.component.spec.ts b/src/app/components/auth/signup/signup.component.spec.ts index 43e46a5d6..771700c0b 100644 --- a/src/app/components/auth/signup/signup.component.spec.ts +++ b/src/app/components/auth/signup/signup.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { SignupComponent } from './signup.component'; @@ -6,7 +6,7 @@ describe('SignupComponent', () => { let component: SignupComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ SignupComponent ] }) diff --git a/src/app/components/layout/generic/footer/footer.component.spec.ts b/src/app/components/layout/generic/footer/footer.component.spec.ts index 2ca6c4543..36089f150 100644 --- a/src/app/components/layout/generic/footer/footer.component.spec.ts +++ b/src/app/components/layout/generic/footer/footer.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { FooterComponent } from './footer.component'; @@ -6,7 +6,7 @@ describe('FooterComponent', () => { let component: FooterComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ FooterComponent ] }) diff --git a/src/app/components/layout/generic/header/header.component.spec.ts b/src/app/components/layout/generic/header/header.component.spec.ts index 2d0479d7d..48d26266e 100644 --- a/src/app/components/layout/generic/header/header.component.spec.ts +++ b/src/app/components/layout/generic/header/header.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { HeaderComponent } from './header.component'; @@ -6,7 +6,7 @@ describe('HeaderComponent', () => { let component: HeaderComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ HeaderComponent ] }) diff --git a/src/app/components/layout/home/cat-highlight/cat-highlight.component.spec.ts b/src/app/components/layout/home/cat-highlight/cat-highlight.component.spec.ts index c1184fb4f..1b709cdb9 100644 --- a/src/app/components/layout/home/cat-highlight/cat-highlight.component.spec.ts +++ b/src/app/components/layout/home/cat-highlight/cat-highlight.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { CatHighlightComponent } from './cat-highlight.component'; @@ -6,7 +6,7 @@ describe('CatHighlightComponent', () => { let component: CatHighlightComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ CatHighlightComponent ] }) diff --git a/src/app/components/layout/home/dog-highlight/dog-highlight.component.spec.ts b/src/app/components/layout/home/dog-highlight/dog-highlight.component.spec.ts index 14852d14f..2a9a82f36 100644 --- a/src/app/components/layout/home/dog-highlight/dog-highlight.component.spec.ts +++ b/src/app/components/layout/home/dog-highlight/dog-highlight.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { DogHighlightComponent } from './dog-highlight.component'; @@ -6,7 +6,7 @@ describe('DogHighlightComponent', () => { let component: DogHighlightComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ DogHighlightComponent ] }) diff --git a/src/app/components/layout/home/featured-animal/featured-animal.component.spec.ts b/src/app/components/layout/home/featured-animal/featured-animal.component.spec.ts index 5d6be0d8a..5102d85ef 100644 --- a/src/app/components/layout/home/featured-animal/featured-animal.component.spec.ts +++ b/src/app/components/layout/home/featured-animal/featured-animal.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { FeaturedAnimalComponent } from './featured-animal.component'; @@ -6,7 +6,7 @@ describe('FeaturedAnimalComponent', () => { let component: FeaturedAnimalComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ FeaturedAnimalComponent ] }) diff --git a/src/app/components/layout/home/home.component.spec.ts b/src/app/components/layout/home/home.component.spec.ts index 490e81bdf..b19cfbd13 100644 --- a/src/app/components/layout/home/home.component.spec.ts +++ b/src/app/components/layout/home/home.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { HomeComponent } from './home.component'; @@ -6,7 +6,7 @@ describe('HomeComponent', () => { let component: HomeComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ HomeComponent ] }) diff --git a/src/app/components/layout/home/newsletter/newsletter.component.spec.ts b/src/app/components/layout/home/newsletter/newsletter.component.spec.ts index 798037e2a..96a0a6b02 100644 --- a/src/app/components/layout/home/newsletter/newsletter.component.spec.ts +++ b/src/app/components/layout/home/newsletter/newsletter.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { NewsletterComponent } from './newsletter.component'; @@ -6,7 +6,7 @@ describe('NewsletterComponent', () => { let component: NewsletterComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ NewsletterComponent ] }) diff --git a/src/app/components/layout/page-not-found/page-not-found.component.spec.ts b/src/app/components/layout/page-not-found/page-not-found.component.spec.ts index 697a94657..548cdc7db 100644 --- a/src/app/components/layout/page-not-found/page-not-found.component.spec.ts +++ b/src/app/components/layout/page-not-found/page-not-found.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { PageNotFoundComponent } from './page-not-found.component'; @@ -6,7 +6,7 @@ describe('PageNotFoundComponent', () => { let component: PageNotFoundComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ PageNotFoundComponent ] }) diff --git a/src/app/components/layout/searches/animal-profile-component/animal-profile.component.spec.ts b/src/app/components/layout/searches/animal-profile-component/animal-profile.component.spec.ts index 6dca134d0..f77bcb198 100644 --- a/src/app/components/layout/searches/animal-profile-component/animal-profile.component.spec.ts +++ b/src/app/components/layout/searches/animal-profile-component/animal-profile.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { AnimalProfileComponent } from './animal-profile.component'; @@ -6,7 +6,7 @@ describe('AnimalProfileComponentComponent', () => { let component: AnimalProfileComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ AnimalProfileComponent ] }) diff --git a/src/app/components/layout/searches/display-animals/display-animals.component.spec.ts b/src/app/components/layout/searches/display-animals/display-animals.component.spec.ts index cefbdf5f9..b989128b5 100644 --- a/src/app/components/layout/searches/display-animals/display-animals.component.spec.ts +++ b/src/app/components/layout/searches/display-animals/display-animals.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { DisplayAnimalsComponent } from './display-animals.component'; @@ -6,7 +6,7 @@ describe('DisplayAnimalsComponent', () => { let component: DisplayAnimalsComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ DisplayAnimalsComponent ] }) diff --git a/src/app/components/layout/searches/filters/filters.component.spec.ts b/src/app/components/layout/searches/filters/filters.component.spec.ts index 3ee973d30..030db60f6 100644 --- a/src/app/components/layout/searches/filters/filters.component.spec.ts +++ b/src/app/components/layout/searches/filters/filters.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { FiltersComponent } from './filters.component'; @@ -6,7 +6,7 @@ describe('FiltersComponent', () => { let component: FiltersComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ FiltersComponent ] }) diff --git a/src/app/components/layout/searches/profile-squares/profile-squares.component.spec.ts b/src/app/components/layout/searches/profile-squares/profile-squares.component.spec.ts index 3a697dafe..3599325c3 100644 --- a/src/app/components/layout/searches/profile-squares/profile-squares.component.spec.ts +++ b/src/app/components/layout/searches/profile-squares/profile-squares.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { ProfileSquaresComponent } from './profile-squares.component'; @@ -6,7 +6,7 @@ describe('ProfileSquaresComponent', () => { let component: ProfileSquaresComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ ProfileSquaresComponent ] }) diff --git a/src/app/components/legal/about/about.component.spec.ts b/src/app/components/legal/about/about.component.spec.ts index 6b773448f..25618877c 100644 --- a/src/app/components/legal/about/about.component.spec.ts +++ b/src/app/components/legal/about/about.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { AboutComponent } from './about.component'; @@ -6,7 +6,7 @@ describe('AboutComponent', () => { let component: AboutComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ AboutComponent ] }) diff --git a/src/app/components/legal/privacy-policy/privacy-policy.component.spec.ts b/src/app/components/legal/privacy-policy/privacy-policy.component.spec.ts index 79d5b4edd..a8d84e6a2 100644 --- a/src/app/components/legal/privacy-policy/privacy-policy.component.spec.ts +++ b/src/app/components/legal/privacy-policy/privacy-policy.component.spec.ts @@ -1,4 +1,4 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; +import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; import { PrivacyPolicyComponent } from './privacy-policy.component'; @@ -6,7 +6,7 @@ describe('PrivacyPolicyComponent', () => { let component: PrivacyPolicyComponent; let fixture: ComponentFixture; - beforeEach(async(() => { + beforeEach(waitForAsync(() => { TestBed.configureTestingModule({ declarations: [ PrivacyPolicyComponent ] })