Unit Tests Frontend

This commit is contained in:
Bastian Wagner
2026-03-11 14:41:57 +01:00
parent 1480e8d7b2
commit 5a15847c4a
18 changed files with 211 additions and 342 deletions

View File

@@ -1,6 +1,5 @@
import { inject, Injectable } from "@angular/core";
import { ActivatedRouteSnapshot, Router } from "@angular/router";
import { HotToastService } from "@ngxpert/hot-toast";
import { AuthService } from "./auth.service";
@Injectable({
@@ -9,7 +8,6 @@ import { AuthService } from "./auth.service";
export class AuthenticatedGuard {
public isLoading = false;
private router = inject(Router);
private toast = inject(HotToastService);
private authService = inject(AuthService);
async canActivate(route: ActivatedRouteSnapshot):