Skip to content

Commit

Permalink
Merge pull request #11137 from qmonmert/angprettier
Browse files Browse the repository at this point in the history
Reformat angular files  with prettier
  • Loading branch information
murdos authored Oct 16, 2024
2 parents ca6e551 + f5abc18 commit 8a7f8d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,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 8a7f8d4

Please sign in to comment.