Skip to content

Commit 6f46ab5

Browse files
committed
feat: ajustes
1 parent a80ee07 commit 6f46ab5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-base.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('PoPageJobSchedulerBaseComponent:', () => {
4646

4747
spyOn(component['poPageJobSchedulerService'], 'convertToJobSchedulerInternal').and.returnValue(returnValue);
4848
component.value = jobSchedulerInternal;
49-
// expect(component.model instanceof PoPageJobSchedulerInternal).toBeTruthy();
49+
5050
expect(component.model).toEqual(returnValue);
5151
}));
5252
});

projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe('PoPageJobSchedulerSummaryComponent:', () => {
8989
expect(result).toBe(expectedValue);
9090
});
9191

92-
it('getFrequencyValue: should return `frequency[value] - frequency[type]`', () => {
92+
it('getFrequencyValue: should return a empty string if `periodicity` is `single`', () => {
9393
const periodicity = 'single';
9494
const frequency = { type: 'day', value: 2 };
9595
const expectedValue = '';

projects/templates/src/lib/components/po-page-job-scheduler/po-page-job-scheduler.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ describe('PoPageJobSchedulerService:', () => {
731731
expect(value).toEqual(valueExpected);
732732
});
733733

734-
it('removeInvalidKeys: should remove invalid keys if keys is `rangeExecutions` and periodicity is `single`', () => {
734+
it('removeInvalidKeys: should set periodicity if periodicity is `single`', () => {
735735
const value: any = {
736736
keyB: 'A',
737737
periodicity: 'single'

0 commit comments

Comments
 (0)