25 lines
593 B
TypeScript
25 lines
593 B
TypeScript
import { ComponentFixture, TestBed } from '@angular/core/testing'
|
|
|
|
import { DateComponent } from './date.component'
|
|
|
|
describe('DateComponent', () => {
|
|
let component: DateComponent
|
|
let fixture: ComponentFixture<DateComponent>
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
declarations: [DateComponent],
|
|
}).compileComponents()
|
|
})
|
|
|
|
beforeEach(() => {
|
|
fixture = TestBed.createComponent(DateComponent)
|
|
component = fixture.componentInstance
|
|
fixture.detectChanges()
|
|
})
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy()
|
|
})
|
|
})
|