diff --git a/projects/project-3/frontend/src/app/app.module.ts b/projects/project-3/frontend/src/app/app.module.ts index a00ca57..eb91b13 100644 --- a/projects/project-3/frontend/src/app/app.module.ts +++ b/projects/project-3/frontend/src/app/app.module.ts @@ -24,13 +24,15 @@ import {MatNativeDateModule} from '@angular/material/core'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {MatInputModule} from '@angular/material/input'; import {MatTableModule} from '@angular/material/table'; +import {AutoRefreshComponent} from './map/auto-refresh/auto-refresh.component'; @NgModule({ declarations: [ AppComponent, MapComponent, DashboardComponent, - PopUpComponent + PopUpComponent, + AutoRefreshComponent ], imports: [ BrowserModule, diff --git a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html index acb397a..43907e5 100644 --- a/projects/project-3/frontend/src/app/dashboard/dashboard.component.html +++ b/projects/project-3/frontend/src/app/dashboard/dashboard.component.html @@ -19,63 +19,54 @@
auto-refresh works!
diff --git a/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.scss b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.spec.ts b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.spec.ts new file mode 100644 index 0000000..16695ab --- /dev/null +++ b/projects/project-3/frontend/src/app/map/auto-refresh/auto-refresh.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AutoRefreshComponent } from './auto-refresh.component'; + +describe('AutoRefreshComponent', () => { + let component: AutoRefreshComponent; + let fixture: ComponentFixture