Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
id: 'df-row-group-config-1',
group: [new DsDynamicInputModel({ id: 'dc.title' })],
}),
new DynamicRowGroupModel({
id: 'df-row-group-config-2',
group: [new DsDynamicInputModel({ id: 'dc.contributor' })],
})
];
const dynamicFormControlEvent: DynamicFormControlEvent = {
$event: new Event('change'),
context: null,
control: null,
group: testFormModel[0] as any,
model: testFormModel[0].group[0],
type: DynamicFormControlEventType.Change
};
describe('SubmissionSectionformComponent test suite', () => {
let comp: SubmissionSectionformComponent;
let compAsAny: any;
let fixture: ComponentFixture;
let submissionServiceStub: SubmissionServiceStub;
let sectionsServiceStub: SectionsServiceStub;
let notificationsServiceStub: NotificationsServiceStub;
let formService: any;
let formConfigService: any;
let formOperationsService: any;
let formBuilderService: any;
let translateService: any;acceptanceDate: null,
granted: false
},
errors: [],
header: 'submit.progressbar.describe.license',
id: 'license',
sectionType: SectionsType.License
};
const dynamicFormControlEvent: DynamicFormControlEvent = {
$event: new Event('change'),
context: null,
control: null,
group: null,
model: null,
type: DynamicFormControlEventType.Change
};
describe('SubmissionSectionLicenseComponent test suite', () => {
let comp: SubmissionSectionLicenseComponent;
let compAsAny: any;
let fixture: ComponentFixture;
let submissionServiceStub: SubmissionServiceStub;
let sectionsServiceStub: SectionsServiceStub;
let formService: any;
let formOperationsService: any;
let formBuilderService: any;
let collectionDataService: any;
const submissionId = mockSubmissionId;
const collectionId = mockSubmissionCollectionId;