fix lint error

pull/18058/head
Sinan997 1 year ago
parent c944457b77
commit 698740c8de

@ -19,7 +19,7 @@ export class HttpErrorReporterService {
return this._errors$.value;
}
reportError = (error: HttpErrorResponse) => {
reportError(error: HttpErrorResponse) {
this._reporter$.next(error);
this._errors$.next([...this.errors, error]);
}

@ -134,7 +134,7 @@ describe('authGuard', () => {
hasValidAccessToken: jest.fn().mockReturnValue(true),
};
let routes: Route[] = [
const routes: Route[] = [
{
path: 'dummy',
component: DummyComponent,

@ -51,7 +51,7 @@ class DummyComponent {}
describe('authGuard', () => {
let oAuthService: SpyObject<OAuthService>;
let authService: SpyObject<AuthService>;
let routes: Route[] = [
const routes: Route[] = [
{
path: 'dummy',
canActivate: [abpOAuthGuard],

Loading…
Cancel
Save