Configure ESLint with deprecation checking and fix all lint violations

This commit is contained in:
nessar committed 2026-08-17 14:18:14 +02:00
1 parent bdc2e1bc57
commit fd2019e3cd
8 files changed
+331 -48

No files matched your search

+3 -4
View File
@@ -14,8 +14,8 @@ describe('App', () => {
hasValidAccessToken: () => false,
getIdentityClaims: () => null,
getAccessToken: () => 'mock-token',
initCodeFlow: () => {},
logOut: () => {}
initCodeFlow: vi.fn(),
revokeTokenAndLogout: vi.fn()
};
mockHttpClient = {
@@ -77,7 +77,7 @@ describe('App', () => {
const app = fixture.componentInstance;
const loginSpy = vi.spyOn(mockOAuthService, 'initCodeFlow');
const logoutSpy = vi.spyOn(mockOAuthService, 'logOut');
const logoutSpy = vi.spyOn(mockOAuthService, 'revokeTokenAndLogout');
app.login();
expect(loginSpy).toHaveBeenCalled();
@@ -106,7 +106,6 @@ describe('App', () => {
it('should render logged in state when user is authenticated', async () => {
const fixture = TestBed.createComponent(App);
const app = fixture.componentInstance;
// Log in
mockOAuthService.hasValidAccessToken = () => true;