Skip to content

Commit

Permalink
misc: prettier format
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelsc committed Feb 3, 2025
1 parent e5156a9 commit 3a61ab3
Show file tree
Hide file tree
Showing 20 changed files with 217 additions and 214 deletions.
1 change: 0 additions & 1 deletion src/app/components/dashboard/dashboard.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,3 @@ ion-item {
ion-item ion-label {
margin-right: 0px; // fixes ios margin at the right side
}

Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing'

import { GroupSelectorComponent } from './group-selector.component';
import { GroupSelectorComponent } from './group-selector.component'

describe('GroupSelectorComponent', () => {
let component: GroupSelectorComponent;
let fixture: ComponentFixture<GroupSelectorComponent>;
let component: GroupSelectorComponent
let fixture: ComponentFixture<GroupSelectorComponent>

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [GroupSelectorComponent]
})
.compileComponents();
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [GroupSelectorComponent],
}).compileComponents()

fixture = TestBed.createComponent(GroupSelectorComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
fixture = TestBed.createComponent(GroupSelectorComponent)
component = fixture.componentInstance
fixture.detectChanges()
})

it('should create', () => {
expect(component).toBeTruthy();
});
});
it('should create', () => {
expect(component).toBeTruthy()
})
})
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CommonModule } from '@angular/common';
import { Component, EventEmitter, Input, Output } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { GroupEntries } from '@utils/DashboardUtils';
import { CommonModule } from '@angular/common'
import { Component, EventEmitter, Input, Output } from '@angular/core'
import { IonicModule } from '@ionic/angular'
import { GroupEntries } from '@utils/DashboardUtils'

@Component({
selector: 'app-group-selector',
Expand All @@ -17,7 +17,7 @@ export class GroupSelectorComponent {
@Output() groupChanged = new EventEmitter<number>()

selectGroup(event: CustomEvent<{ value: number }>): void {
const selectedGroupID = event.detail.value
const selectedGroupID = event.detail.value
this.groupChanged.emit(selectedGroupID)
}
}
2 changes: 1 addition & 1 deletion src/app/components/validator/validator.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<div class="infi-item-middle-container">
<ion-text class="title">
{{ name }}
{{ name }}
<span class="labels" [innerHTML]="labels"></span>
<div class="sync-container">
<ion-icon *ngIf="sync != 'none'" [ngClass]="{ 'sync-active': sync == 'current' }" name="sync-outline"></ion-icon>
Expand Down
10 changes: 4 additions & 6 deletions src/app/components/validator/validator.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ ion-item {
margin: auto;
}



.balance {
font-weight: bold;
}
Expand Down Expand Up @@ -102,7 +100,7 @@ ion-badge {
}

.labels {
font-size: 0.65rem;
font-size: 0.65rem;
vertical-align: top;
margin-right: 3px;
}
Expand All @@ -111,7 +109,7 @@ ion-icon {
font-size: 0.65rem;
color: var(--ion-color-sync-icon-small);
position: absolute;
top: 3px;
top: 3px;
}

.sync-active {
Expand All @@ -122,5 +120,5 @@ ion-icon {

.sync-container {
height: 14px;
display: inline-block;
}
display: inline-block;
}
2 changes: 1 addition & 1 deletion src/app/components/validator/validator.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { getDisplayName, ValidatorState } from 'src/app/utils/ValidatorUtils'
import { UnitconvService } from '@services/unitconv.service'
import { MobileValidatorDashboardValidatorsTableRow } from '@requests/types/mobile'

type SyncState = 'none' | 'current' | 'next'
type SyncState = 'none' | 'current' | 'next'
@Component({
selector: 'app-validator',
templateUrl: './validator.component.html',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing'

import { AccordionIndexslotComponent } from './accordion-indexslot.component';
import { AccordionIndexslotComponent } from './accordion-indexslot.component'

describe('AccordionIndexslotComponent', () => {
let component: AccordionIndexslotComponent;
let fixture: ComponentFixture<AccordionIndexslotComponent>;
let component: AccordionIndexslotComponent
let fixture: ComponentFixture<AccordionIndexslotComponent>

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [AccordionIndexslotComponent]
})
.compileComponents();
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [AccordionIndexslotComponent],
}).compileComponents()

fixture = TestBed.createComponent(AccordionIndexslotComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
fixture = TestBed.createComponent(AccordionIndexslotComponent)
component = fixture.componentInstance
fixture.detectChanges()
})

it('should create', () => {
expect(component).toBeTruthy();
});
});
it('should create', () => {
expect(component).toBeTruthy()
})
})
33 changes: 16 additions & 17 deletions src/app/pages/notification-detail/more/more.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing'

import { MoreComponent } from './more.component';
import { MoreComponent } from './more.component'

describe('MoreComponent', () => {
let component: MoreComponent;
let fixture: ComponentFixture<MoreComponent>;
let component: MoreComponent
let fixture: ComponentFixture<MoreComponent>

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [MoreComponent]
})
.compileComponents();
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [MoreComponent],
}).compileComponents()

fixture = TestBed.createComponent(MoreComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
fixture = TestBed.createComponent(MoreComponent)
component = fixture.componentInstance
fixture.detectChanges()
})

it('should create', () => {
expect(component).toBeTruthy();
});
});
it('should create', () => {
expect(component).toBeTruthy()
})
})
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing'

import { NotificationDetailComponent } from './notification-detail.component';
import { NotificationDetailComponent } from './notification-detail.component'

describe('NotificationDetailComponent', () => {
let component: NotificationDetailComponent;
let fixture: ComponentFixture<NotificationDetailComponent>;
let component: NotificationDetailComponent
let fixture: ComponentFixture<NotificationDetailComponent>

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [NotificationDetailComponent]
})
.compileComponents();
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [NotificationDetailComponent],
}).compileComponents()

fixture = TestBed.createComponent(NotificationDetailComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
fixture = TestBed.createComponent(NotificationDetailComponent)
component = fixture.componentInstance
fixture.detectChanges()
})

it('should create', () => {
expect(component).toBeTruthy();
});
});
it('should create', () => {
expect(component).toBeTruthy()
})
})
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing'

import { BaseHistoryItemComponent } from './base-history-item.component';
import { BaseHistoryItemComponent } from './base-history-item.component'

describe('BaseHistoryItemComponent', () => {
let component: BaseHistoryItemComponent;
let fixture: ComponentFixture<BaseHistoryItemComponent>;
let component: BaseHistoryItemComponent
let fixture: ComponentFixture<BaseHistoryItemComponent>

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [BaseHistoryItemComponent]
})
.compileComponents();
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [BaseHistoryItemComponent],
}).compileComponents()

fixture = TestBed.createComponent(BaseHistoryItemComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
fixture = TestBed.createComponent(BaseHistoryItemComponent)
component = fixture.componentInstance
fixture.detectChanges()
})

it('should create', () => {
expect(component).toBeTruthy();
});
});
it('should create', () => {
expect(component).toBeTruthy()
})
})
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing'

import { ClientHistoryItemComponent } from './client-history-item.component';
import { ClientHistoryItemComponent } from './client-history-item.component'

describe('ClientHistoryItemComponent', () => {
let component: ClientHistoryItemComponent;
let fixture: ComponentFixture<ClientHistoryItemComponent>;
let component: ClientHistoryItemComponent
let fixture: ComponentFixture<ClientHistoryItemComponent>

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ClientHistoryItemComponent]
})
.compileComponents();
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [ClientHistoryItemComponent],
}).compileComponents()

fixture = TestBed.createComponent(ClientHistoryItemComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
fixture = TestBed.createComponent(ClientHistoryItemComponent)
component = fixture.componentInstance
fixture.detectChanges()
})

it('should create', () => {
expect(component).toBeTruthy();
});
});
it('should create', () => {
expect(component).toBeTruthy()
})
})
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing'

import { MachineHistoryItemComponent } from './machine-history-item.component';
import { MachineHistoryItemComponent } from './machine-history-item.component'

describe('MachineHistoryItemComponent', () => {
let component: MachineHistoryItemComponent;
let fixture: ComponentFixture<MachineHistoryItemComponent>;
let component: MachineHistoryItemComponent
let fixture: ComponentFixture<MachineHistoryItemComponent>

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [MachineHistoryItemComponent]
})
.compileComponents();
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [MachineHistoryItemComponent],
}).compileComponents()

fixture = TestBed.createComponent(MachineHistoryItemComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
fixture = TestBed.createComponent(MachineHistoryItemComponent)
component = fixture.componentInstance
fixture.detectChanges()
})

it('should create', () => {
expect(component).toBeTruthy();
});
});
it('should create', () => {
expect(component).toBeTruthy()
})
})
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComponentFixture, TestBed } from '@angular/core/testing'

import { NetworkHistoryItemComponent } from './network-history-item.component';
import { NetworkHistoryItemComponent } from './network-history-item.component'

describe('NetworkHistoryItemComponent', () => {
let component: NetworkHistoryItemComponent;
let fixture: ComponentFixture<NetworkHistoryItemComponent>;
let component: NetworkHistoryItemComponent
let fixture: ComponentFixture<NetworkHistoryItemComponent>

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [NetworkHistoryItemComponent]
})
.compileComponents();
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [NetworkHistoryItemComponent],
}).compileComponents()

fixture = TestBed.createComponent(NetworkHistoryItemComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
fixture = TestBed.createComponent(NetworkHistoryItemComponent)
component = fixture.componentInstance
fixture.detectChanges()
})

it('should create', () => {
expect(component).toBeTruthy();
});
});
it('should create', () => {
expect(component).toBeTruthy()
})
})
Loading

0 comments on commit 3a61ab3

Please sign in to comment.