diff --git a/angular.json b/angular.json index 4fc3a69..a12d0d4 100644 --- a/angular.json +++ b/angular.json @@ -18,7 +18,8 @@ "builder": "@angular-devkit/build-angular:application", "options": { "allowedCommonJsDependencies": [ - "pocketbase" + "pocketbase", + "leaflet" ], "outputPath": "dist/", "index": "src/index.html", diff --git a/package.json b/package.json index 45a690a..58f9644 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "trouve-ton-profile", - "version": "1.3.0", + "version": "1.3.1", "scripts": { "ng": "ng", "start": "bash replace-prod-env.sh src/environments/environment.development.ts $ENV_URL && ng serve", diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index ffff51a..b107212 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -8,6 +8,8 @@ import { ProfileRepository } from '@app/domain/profiles/profile.repository'; import { SettingRepository } from '@app/domain/settings/setting.repository'; import { mockSettingRepo } from '@app/testing/setting.mock'; import { SETTING_REPOSITORY_TOKEN } from '@app/infrastructure/settings/setting-repository.token'; +import { ToastrService } from 'ngx-toastr'; +import { mockToastR } from '@app/testing/toastr.mock'; describe('AppComponent', () => { let component: AppComponent; @@ -41,6 +43,7 @@ describe('AppComponent', () => { imports: [AppComponent], providers: [ provideRouter([]), + { provide: ToastrService, useValue: mockToastR }, { provide: AUTH_REPOSITORY_TOKEN, useValue: mockAuthRepository }, { provide: PROFILE_REPOSITORY_TOKEN, useValue: mockProfileRepo }, { provide: SETTING_REPOSITORY_TOKEN, useValue: mockSettingRepository }, diff --git a/src/app/routes/my-profile/my-profile.component.html b/src/app/routes/my-profile/my-profile.component.html index e864181..89141d4 100644 --- a/src/app/routes/my-profile/my-profile.component.html +++ b/src/app/routes/my-profile/my-profile.component.html @@ -348,7 +348,7 @@ d="M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1115 0z" /> - Localisation +