From 971d9a0fa5dbe2a8adc39e315217190a5e99093c Mon Sep 17 00:00:00 2001 From: natlinux Date: Sat, 9 May 2026 19:54:48 +0200 Subject: [PATCH] angular tests --- .idea/.idea.DotNetAngular/.idea/workspace.xml | 86 +- src/ClientApp/package-lock.json | 922 ++++++++++++++++++ src/ClientApp/package.json | 2 + src/ClientApp/src/app/app.component.spec.ts | 24 +- .../services/auth-service.spec.ts | 41 +- .../services/dark-mode.service.spec.ts | 13 +- .../services/loading.service.spec.ts | 27 +- .../services/reset-password.service.spec.ts | 40 +- .../services/toast.service.spec.ts | 26 +- .../services/user-store.service.spec.ts | 32 +- .../services/user.service.spec.ts | 38 +- .../utilities/password-validator.spec.ts | 46 +- .../reset-password-validator.spec.ts | 23 + .../utilities/validate-form.spec.ts | 27 +- .../forget-password-popup.component.spec.ts | 63 +- .../login/login.component.spec.ts | 92 +- .../register/register.component.spec.ts | 88 +- .../reset-password.component.spec.ts | 81 +- .../admin-dashboard.component.spec.ts | 14 +- .../footer/footer.component.spec.ts | 16 +- .../header/header.component.spec.ts | 21 +- .../user-dashboard.component.spec.ts | 20 +- .../user-table/user-table.component.spec.ts | 141 ++- .../presentation/guards/admin.guard.spec.ts | 55 +- .../guards/authentication.guard.spec.ts | 35 +- .../presentation/guards/guest.guard.spec.ts | 36 +- .../interceptors/token.interceptor.spec.ts | 47 +- 27 files changed, 1882 insertions(+), 174 deletions(-) create mode 100644 src/ClientApp/src/app/infrastructure/utilities/reset-password-validator.spec.ts diff --git a/.idea/.idea.DotNetAngular/.idea/workspace.xml b/.idea/.idea.DotNetAngular/.idea/workspace.xml index 146affb..e82d605 100644 --- a/.idea/.idea.DotNetAngular/.idea/workspace.xml +++ b/.idea/.idea.DotNetAngular/.idea/workspace.xml @@ -19,10 +19,33 @@ + - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - { - "keyToString": { - ".NET Launch Settings Profile.API: Angular_dev.executor": "Run", - "RunOnceActivity.MCP Project settings loaded": "true", - "RunOnceActivity.ShowReadmeOnStart": "true", - "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true", - "RunOnceActivity.cidr.known.project.marker": "true", - "RunOnceActivity.git.unshallow": "true", - "RunOnceActivity.readMode.enableVisualFormatting": "true", - "RunOnceActivity.typescript.service.memoryLimit.init": "true", - "cidr.known.project.marker": "true", - "codeWithMe.voiceChat.enabledByDefault": "false", - "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true", - "git-widget-placeholder": "develop", - "git.auto.fetch.suggestion.counter": "1", - "junie.onboarding.icon.badge.shown": "true", - "node.js.detected.package.eslint": "true", - "node.js.detected.package.tslint": "true", - "node.js.selected.package.eslint": "(autodetect)", - "node.js.selected.package.tslint": "(autodetect)", - "nodejs_package_manager_path": "npm", - "settings.editor.selected.configurable": "vcs.Git", - "to.speed.mode.migration.done": "true", - "ts.external.directory.path": "/home/natlinux/RiderProjects/DotNetAngular/src/ClientApp/node_modules/typescript/lib", - "vue.rearranger.settings.migration": "true" + +}]]> @@ -236,6 +259,7 @@ +