mirror of
https://github.com/jwetzell/itsfiveoclockwhere.git
synced 2026-08-10 09:43:43 +00:00
Add github action to deploy
This commit is contained in:
@@ -15,17 +15,5 @@ describe('AppComponent', () => {
|
||||
const app = fixture.componentInstance;
|
||||
expect(app).toBeTruthy();
|
||||
});
|
||||
|
||||
it(`should have as title 'itsfiveoclockwhere'`, () => {
|
||||
const fixture = TestBed.createComponent(AppComponent);
|
||||
const app = fixture.componentInstance;
|
||||
expect(app.title).toEqual('itsfiveoclockwhere');
|
||||
});
|
||||
|
||||
it('should render title', () => {
|
||||
const fixture = TestBed.createComponent(AppComponent);
|
||||
fixture.detectChanges();
|
||||
const compiled = fixture.nativeElement as HTMLElement;
|
||||
expect(compiled.querySelector('.content span')?.textContent).toContain('itsfiveoclockwhere app is running!');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -12,7 +12,6 @@ import { TimezoneService } from './services/timezone.service';
|
||||
styleUrls: ['./app.component.scss']
|
||||
})
|
||||
export class AppComponent {
|
||||
title = 'itsfiveoclockwhere';
|
||||
|
||||
dates: any[] = []
|
||||
|
||||
|
||||
@@ -407,7 +407,7 @@ export class TimezoneService {
|
||||
'Pacific/Guadalcanal',
|
||||
'Pacific/Guam',
|
||||
'Pacific/Honolulu',
|
||||
// 'Pacific/Kanton', ?? Why is this not valid?
|
||||
'Pacific/Kanton', // Why is this not valid?
|
||||
'Pacific/Kiritimati',
|
||||
'Pacific/Kosrae',
|
||||
'Pacific/Kwajalein',
|
||||
|
||||
Reference in New Issue
Block a user