Add github action to deploy

This commit is contained in:
2021-11-23 23:46:01 -06:00
parent 76a180f627
commit facd5f90c8
5 changed files with 59 additions and 12594 deletions
+1 -13
View File
@@ -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!');
});
});
-1
View File
@@ -12,7 +12,6 @@ import { TimezoneService } from './services/timezone.service';
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = 'itsfiveoclockwhere';
dates: any[] = []
+1 -1
View File
@@ -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',