Skip to content

Commit 7c0b51f

Browse files
committed
fix: TT-149 rename tests
1 parent 8f6c6a5 commit 7c0b51f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/app/modules/shared/components/details-fields/details-fields.component.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ describe('DetailsFieldsComponent', () => {
443443
expect(component.projectSelected.emit).toHaveBeenCalledWith(data);
444444
});
445445

446-
it('on Selected Start Date should change End Date', () => {
446+
it('on selected start_date should change end_date', () => {
447447
const expectedStartDate = '2020-02-05';
448448

449449
component.onStartDateChange(expectedStartDate);
@@ -453,7 +453,7 @@ describe('DetailsFieldsComponent', () => {
453453
expect(endDateInput.value).toEqual(expectedStartDate);
454454
});
455455

456-
it('on Selected End Date should not change Start Date', () => {
456+
it('on selected end_date should not change start_date', () => {
457457
const expectedStartDate = '2020-02-05';
458458
const expectedEndDate = '2020-02-06';
459459

@@ -468,8 +468,6 @@ describe('DetailsFieldsComponent', () => {
468468
expect(endDateInput.value).not.toEqual(startDateInput.value);
469469
expect(startDateInput.value).toEqual(expectedStartDate);
470470
});
471-
472-
473471
/*
474472
TODO As part of https://github.com/ioet/time-tracker-ui/issues/424 a new parameter was added to the details-field-component,
475473
and now these couple of tests are failing. A solution to this error might be generate a Test Wrapper Component. More details here:

0 commit comments

Comments
 (0)