Skip to content

Commit

Permalink
Reformat angular files with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Oct 16, 2024
1 parent 120021b commit 1464a1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ describe('App Component', () => {
beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
providers: [
provideRouter([]),
{ provide: ComponentFixtureAutoDetect, useValue: true }
providers: [provideRouter([]), { provide: ComponentFixtureAutoDetect, useValue: true }],
],
}).compileComponents();
}));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { TestBed } from '@angular/core/testing';
import Keycloak, { KeycloakConfig, KeycloakInitOptions } from 'keycloak-js';
import { lastValueFrom } from 'rxjs';
import { Oauth2AuthService } from './oauth2-auth.service';
import { environment } from '../../environments/environment';
import { Oauth2AuthService } from './oauth2-auth.service';
import SpyInstance = jest.SpyInstance;

jest.mock('keycloak-js', () => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class Oauth2AuthService {
}

initAuthentication(): Observable<boolean> {
return from(this.keycloak.init({ onLoad: 'login-required', checkLoginIframe: false })).pipe(
return from(this.keycloak.init({ onLoad: 'login-required', checkLoginIframe: false })).pipe(
tap(authenticated => {
if (!authenticated) {
window.location.reload();
Expand Down

0 comments on commit 1464a1e

Please sign in to comment.