2022-03-11 10:53:32 -08:00
|
|
|
import { ComponentFixture, TestBed } from '@angular/core/testing'
|
2020-11-04 13:10:23 +01:00
|
|
|
|
2022-03-11 10:53:32 -08:00
|
|
|
import { DateComponent } from './date.component'
|
2020-11-04 13:10:23 +01:00
|
|
|
|
2021-02-24 18:00:26 +01:00
|
|
|
describe('DateComponent', () => {
|
2022-03-11 10:53:32 -08:00
|
|
|
let component: DateComponent
|
|
|
|
|
let fixture: ComponentFixture<DateComponent>
|
2020-11-04 13:10:23 +01:00
|
|
|
|
|
|
|
|
beforeEach(async () => {
|
|
|
|
|
await TestBed.configureTestingModule({
|
2022-03-11 10:53:32 -08:00
|
|
|
declarations: [DateComponent],
|
|
|
|
|
}).compileComponents()
|
|
|
|
|
})
|
2020-11-04 13:10:23 +01:00
|
|
|
|
|
|
|
|
beforeEach(() => {
|
2022-03-11 10:53:32 -08:00
|
|
|
fixture = TestBed.createComponent(DateComponent)
|
|
|
|
|
component = fixture.componentInstance
|
|
|
|
|
fixture.detectChanges()
|
|
|
|
|
})
|
2020-11-04 13:10:23 +01:00
|
|
|
|
|
|
|
|
it('should create', () => {
|
2022-03-11 10:53:32 -08:00
|
|
|
expect(component).toBeTruthy()
|
|
|
|
|
})
|
|
|
|
|
})
|